bux API Reference 1.6.8
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.
|
#include <ParaLog.h>
Classes | |
class | C_NodeArrayProxy |
class | C_NodeProxy |
Public Member Functions | |
template<class... T_Args> | |
bool | addChild (T_Args &&...args) |
template<class C_LogImpl , class C_Holder = typename C_AutoSinkHolderT<C_LogImpl>::type, E_LogLevel LL = LL_VERBOSE, class... T_Args> | |
bool | addChildT (T_Args &&...args) |
template<typename F > | |
C_NodeArrayProxy | partitionBy (F f) |
std::ostream * | lockLog () override |
Return non-null pointer if possible. | |
std::ostream * | lockLog (E_LogLevel ll) override |
Return non-null pointer if logging is permitted for the given log level ll. | |
void | unlockLog (bool flush) override |
If the previous call to lockLog() returned null, the behavior is undefined. | |
template<typename F > | |
auto | partitionBy (F f) -> C_NodeArrayProxy |
virtual std::ostream * | lockLog ()=0 |
Return non-null pointer if possible. | |
virtual std::ostream * | lockLog (E_LogLevel ll)=0 |
Return non-null pointer if logging is permitted for the given log level ll. | |
virtual void | unlockLog (bool flush=true)=0 |
If the previous call to lockLog() returned null, the behavior is undefined. | |
Friends | |
class | C_NodeProxy |
Additional Inherited Members | |
Protected Member Functions inherited from bux::I_SyncLog | |
~I_SyncLog ()=default | |
Pointer deletion is not expected. | |
Thread-safe file log which can be configured to automatically change the output path according to the current timestamp. Apply bux::C_UseOstream to block any other thread WITHIN process from using it.
bool bux::C_ParaLog::addChild | ( | T_Args &&... | args | ) |
Definition at line 176 of file ParaLog.h.
References bux::C_ParaLog::C_NodeProxy::addChild().
bool bux::C_ParaLog::addChildT | ( | T_Args &&... | args | ) |
Definition at line 181 of file ParaLog.h.
References bux::C_ParaLog::C_NodeProxy::addChildT().
|
overridevirtual |
Return non-null pointer if possible.
Implements bux::I_SyncLog.
Definition at line 94 of file ParaLog.cpp.
References lockLog().
Referenced by lockLog().
|
overridevirtual |
Return non-null pointer if logging is permitted for the given log level ll.
Implements bux::I_SyncLog.
Definition at line 99 of file ParaLog.cpp.
References lockLog().
C_NodeArrayProxy bux::C_ParaLog::partitionBy | ( | F | f | ) |
auto bux::C_ParaLog::partitionBy | ( | F | f | ) | -> C_NodeArrayProxy |
Definition at line 187 of file ParaLog.h.
References bux::C_ParaLog::C_NodeProxy::partitionBy().
|
overridevirtual |
If the previous call to lockLog() returned null, the behavior is undefined.
Implements bux::I_SyncLog.
Definition at line 104 of file ParaLog.cpp.
|
friend |