305 bool pUsesStdStreams );
Logger(const NString &name, const NString &typeName)
virtual void ConvertObjects(AString &target, BoxesMA &logables)=0
virtual ~ObjectConverter()
Destructs an object of this class.
virtual ALIB_DLL void SetAutoSizes(AutoSizes *autoSizes)=0
virtual AutoSizes * GetAutoSizes()=0
virtual void ResetAutoSizes()=0
virtual ALIB_DLL void SetAutoSizes(AutoSizes *autoSizes) override
ALIB_DLL StandardConverter()
Constructor.
virtual ALIB_DLL void ConvertObjects(AString &target, BoxesMA &logables) override
virtual ALIB_DLL void ResetAutoSizes() override
Resets automatically widened tab stops and field widths of this converter.
virtual ALIB_DLL ~StandardConverter() override
Virtual destructor.
virtual ALIB_DLL AutoSizes * GetAutoSizes() override
std::vector< Formatter * > Formatters
int cntRecursion
A counter to detect recursive calls.
FormatDateTime & GetFormatDate()
FormatAutoSizes & GetAutoSizes()
Replacements & GetReplacements()
virtual ALIB_DLL void writeMetaInfo(AString &buffer, detail::Domain &domain, Verbosity verbosity, detail::ScopeInfo &scope)
virtual ALIB_DLL void AcknowledgeLox(detail::LoxImpl *lox, lang::ContainerOp op) override
TickConverter DateConverter
FormatMultiLine & GetFormatMultiLine()
FormatTimeDiff & GetFormatTimeDiff()
virtual ALIB_DLL void SetReplacement(const String &searched, const String &replacement)
virtual ALIB_DLL ~TextLogger() override
Destructs a TextLogger.
Variable varFormatMultiLine
virtual ALIB_DLL void processVariable(const NString &domainPath, Verbosity verbosity, detail::ScopeInfo &scope, AString &dest, Substring &variable)
virtual ALIB_DLL void ResetAutoSizes()
AString logBuf
The internal log Buffer.
virtual ALIB_DLL void writeTimeDiff(AString &buffer, int64_t diffNanos)
FormatMetaInfo & GetFormatMetaInfo()
Variable varFormatMetaInfo
AString msgBuf
The buffers for converting the logables.
virtual void logText(detail::Domain &domain, Verbosity verbosity, AString &msg, detail::ScopeInfo &scope, int lineNumber)=0
ALIB_DLL TextLogger(const NString &pName, const NString &typeName, bool pUsesStdStreams)
Variable varFormatAutoSizes
FormatOther & GetFormatOther()
virtual ALIB_DLL void ClearReplacements()
Removes all pairs of searched strings and their replacement value.
ObjectConverter * Converter
strings::util::CalendarDateTime callerDateTime
Variable varFormatDateTime
virtual void notifyMultiLineOp(lang::Phase phase)=0
Variable varFormatTimeDiff
ContainerOp
Denotes standard container operations.
Phase
Denotes a phase, e.g.,of a transaction.
This namespaces defines class TextLogger and its helpers.
strings::TAString< character, lang::HeapAllocator > AString
Type alias in namespace alib.
variables::Variable Variable
Type alias in namespace alib.
strings::TString< nchar > NString
Type alias in namespace alib.
strings::util::AutoSizes AutoSizes
Type alias in namespace alib.
boxing::TBoxes< MonoAllocator > BoxesMA
Type alias in namespace alib.
strings::TString< character > String
Type alias in namespace alib.
time::TickConverter TickConverter
Type alias in namespace alib.
strings::TSubstring< character > Substring
Type alias in namespace alib.
lox::textlogger::TextLogger TextLogger
Type alias in namespace alib.
lox::Log Log
Type alias in namespace alib.