8#ifndef HPP_ALIB_LOX_DETAIL_LOGGER
9#define HPP_ALIB_LOX_DETAIL_LOGGER 1
142 #if ALIB_DEBUG_CRITICAL_SECTIONS
163 {(void) lox; (void) op; }
194namespace alib {
namespace strings {
199namespace APPENDABLES {
virtual ~Logger() override
Destructs a logger.
const NString & GetTypeName() const
Logger(const NString &name, const NString &typeName)
virtual void AcknowledgeLox(LoxImpl *lox, lang::ContainerOp op)
const NString & GetName() const
time::Ticks TimeOfCreation
The creation time of the Logger.
time::Ticks TimeOfLastLog
Timestamp of the last log operation.
virtual void Log(Domain &dom, Verbosity verbosity, BoxesMA &logables, ScopeInfo &scope)=0
TAString & ToUpper(integer regionStart=0, integer regionLength=MAX_LEN)
constexpr bool IsEmpty() const
bool Equals(const TString< TChar > &rhs) const
DbgLockAsserter Dbg
The debug tool instance.
#define IF_ALIB_THREADS(...)
#define ALIB_BOXING_VTABLE_DECLARE(TMapped, Identifier)
ContainerOp
Denotes standard container operations.
lang::integer integer
Type alias in namespace alib.
static ALIB_API void SetVerbosity(LoxImpl *impl, detail::Logger *logger, Verbosity verbosity, const NString &domain, Priority priority)
static ALIB_API bool RemoveLogger(LoxImpl *impl, detail::Logger *logger)
void operator()(TAString< TChar, lang::HeapAllocator > &target, const lox::detail::Logger &logger)