109 if (
Name.IsEmpty() )
116 #if ALIB_DEBUG_CRITICAL_SECTIONS
175namespace alib {
namespace strings {
180namespace APPENDABLES {
#define IF_ALIB_THREADS(...)
#define ALIB_SINGLE_THREADED
#define ALIB_BOXING_VTABLE_DECLARE(TMapped, Identifier)
This class acts as a container for Loggers and provides a convenient interface to logging.
bool SetVerbosityExport(Lox *lox, bool value, Priority priority=Priority::Standard)
const NString & GetName() const
Logger(const NString &name, const NString &typeName)
virtual void Log(Domain &dom, Verbosity verbosity, BoxesMA &logables, ScopeInfo &scope)=0
time::Ticks TimeOfLastLog
Timestamp of the last log operation.
virtual void AcknowledgeLox(LoxImpl *lox, lang::ContainerOp op)
time::Ticks TimeOfCreation
The creation time of the Logger.
virtual ~Logger() override
Destructs a logger.
const NString & GetTypeName() const
bool Equals(const TString< TChar > &rhs) const
DbgLockAsserter Dbg
The debug tool instance.
ContainerOp
Denotes standard container operations.
strings::TString< nchar > NString
Type alias in namespace alib.
NLocalString< 32 > NString32
Type alias name for #"TLocalString;TLocalString<nchar,32>".
alib::variables::Priority Priority
Type alias in namespace alib.
lox::detail::Logger Logger
Type alias in namespace alib.
lang::integer integer
Type alias in namespace alib.
boxing::TBoxes< MonoAllocator > BoxesMA
Type alias in namespace alib.
static bool RemoveLogger(LoxImpl *impl, detail::Logger *logger)
static void SetVerbosity(LoxImpl *impl, detail::Logger *logger, Verbosity verbosity, const NString &domain, Priority priority)
void operator()(TAString< TChar, lang::HeapAllocator > &target, const lox::detail::Logger &logger)