8#ifndef HPP_ALOX_DETAIL_TEXTLOGGER_TEXTLOGGER
9#define HPP_ALOX_DETAIL_TEXTLOGGER_TEXTLOGGER 1
11#if !defined (HPP_ALIB_ALOX)
18#if !defined (HPP_ALOX_DETAIL_LOGGER)
22#if !defined (HPP_ALIB_CAMP_CALENDAR)
26#if !defined (HPP_ALIB_TIME_TICKSCONVERTER)
30#if !defined (HPP_ALIB_LANG_FORMAT_FORMATTER_JAVASTYLE)
34#if !defined (HPP_ALIB_LANG_FORMAT_FORMATTER_PYTHONSTYLE)
42namespace alib {
namespace lox {
namespace detail {
233 #if ALOX_DBG_LOG_CI || ALOX_REL_LOG_CI
599 bool pUsesStdStreams );
virtual ALIB_API void processVariable(TextLogger &logger, detail::Domain &domain, Verbosity verbosity, ScopeInfo &scope, AString &dest, Substring &variable)
virtual ALIB_API void writeTimeDiff(AString &buffer, int64_t diffNanos)
virtual ALIB_API void Write(TextLogger &logger, AString &buffer, detail::Domain &domain, Verbosity verbosity, ScopeInfo &scope)
Ticks::Duration MaxElapsedTime
String16 VerbosityVerbose
TickConverter DateConverter
NString16 NoSourceFileInfo
lang::system::CalendarDateTime callerDateTime
String16 VerbosityWarning
virtual void ConvertObjects(AString &target, Boxes &logables)=0
virtual ~ObjectConverter()
virtual void ResetAutoSizes()=0
virtual AutoSizes * GetAutoSizes()=0
ALIB_API StandardConverter()
virtual ALIB_API void ResetAutoSizes() override
virtual ALIB_API AutoSizes * GetAutoSizes() override
virtual ALIB_API void ConvertObjects(AString &target, Boxes &logables) override
std::vector< Formatter * > Formatters
virtual ALIB_API ~StandardConverter() override
String64 FmtMultiLineMsgHeadline
std::vector< AString > replacements
virtual ALIB_API void ClearReplacements()
String16 MultiLineDelimiterRepl
@ Foreground
Use light colors for foreground.
@ Never
Never use light colors.
@ Background
Use light colors for background.
virtual ALIB_API void AcknowledgeLox(LoxImpl *lox, lang::ContainerOp op) override
virtual void notifyMultiLineOp(lang::Phase phase)=0
String16 FmtMultiLineSuffix
virtual ALIB_API void ResetAutoSizes()
textlogger::MetaInfo * MetaInfo
AString MultiLineDelimiter
strings::util::AutoSizes AutoSizes
ObjectConverter * Converter
String16 FmtMultiLinePrefix
int stdStreamLockRegistrationCounter
virtual ALIB_API void SetReplacement(const String &searched, const String &replacement)
virtual void logText(detail::Domain &domain, Verbosity verbosity, AString &msg, detail::ScopeInfo &scope, int lineNumber)=0
virtual ALIB_API ~TextLogger() override
#define ALIB_ENUMS_ASSIGN_RECORD(TEnum, TRecord)
lox::Log Log
Type alias in namespace alib.
lox::detail::textlogger::TextLogger TextLogger
Type alias in namespace alib.