49 bool pruneESCSequences =
true,
50 bool useWStringLengthForTabAdjustments=
true )
95 ? buffer.
Substring<
NC>( start, length ).WStringLength()
virtual void notifyMultiLineOp(lang::Phase) override
Empty implementation, not needed for this class.
virtual integer logSubstring(const String &buffer, integer start, integer length) override
virtual ~MemoryLogger() override
Destructs a MemoryLogger.
virtual bool notifyLogOp(lang::Phase phase) override
bool UseWStringLengthForTabAdjustments
MemoryLogger(const NString &name=nullptr, bool pruneESCSequences=true, bool useWStringLengthForTabAdjustments=true)
PlainTextLogger(const NString &name, const NString &typeName, bool pUsesStdStreams)
TString< TChar > Substring(integer regionStart, integer regionLength=MAX_LEN) const
Phase
Denotes a phase, e.g.,of a transaction.
@ Begin
The start of a transaction.
strings::TAString< character, lang::HeapAllocator > AString
Type alias in namespace alib.
lang::integer integer
Type alias in namespace alib.
strings::TString< nchar > NString
Type alias in namespace alib.
strings::TString< character > String
Type alias in namespace alib.
lox::loggers::MemoryLogger MemoryLogger
Type alias in namespace alib.