bux API Reference 1.9.0
Static library of whatever are seen required in general purpose but not directly supported from Modern C++. Or whatever reusable originated from my side projects.
|
Thread-unsafe implementation is preferred for performance. More...
#include <SyncLog.h>
Public Member Functions | |
virtual | ~I_ReenterableLog ()=default |
Pointer deletion is hereby granted. | |
virtual std::ostream * | useLog ()=0 |
Return non-null pointer if possible. | |
virtual std::ostream * | useLog (E_LogLevel ll)=0 |
Return non-null pointer if logging is permitted to log level ll. | |
virtual void | unuseLog (bool flush)=0 |
If the previous call to lockLog() returned null, the behavior is undefined. | |
|
virtualdefault |
Pointer deletion is hereby granted.
|
pure virtual |
If the previous call to lockLog() returned null, the behavior is undefined.
Implemented in bux::C_ReenterableLogger< C_SinkRefHolder >, and bux::C_ReenterableLogger< typename C_AutoSinkHolderT< C_LogImpl >::type >.
Referenced by bux::C_SyncLogger::unlockLog().
|
pure virtual |
Return non-null pointer if possible.
Implemented in bux::C_ReenterableLogger< C_SinkRefHolder >, and bux::C_ReenterableLogger< typename C_AutoSinkHolderT< C_LogImpl >::type >.
Referenced by bux::C_SyncLogger::lockLog(), and bux::C_SyncLogger::lockLog().
|
pure virtual |
Return non-null pointer if logging is permitted to log level ll.
Implemented in bux::C_ReenterableLogger< C_SinkRefHolder >, and bux::C_ReenterableLogger< typename C_AutoSinkHolderT< C_LogImpl >::type >.