10 Formatters.emplace_back( firstLevelFormatter );
16 "ALox object converter recursion counter > 0.\n"
17 "Note: This error indicates, that a previous format operation (log statement) contained\n"
18 " corrupt format values, which caused the formatter to behave undefined, including\n"
19 " the corruption of the execution stack of ALox logging." )
29 // get a formatter. We use a clone per recursion depth!
30 // So, did we have this depth already before? If not, create a new set of formatters formatter
31 if( size_t( cntRecursion ) >= Formatters.size() ) {
32 // create a pair of recursion formatters
33 Formatter* recursionFormatter= new FormatterPythonStyle();
34 recursionFormatter->Next.InsertDerived<FormatterJavaStyle>();
35 recursionFormatter->CloneSettings( *Formatters[0] );
36 Formatters.emplace_back( recursionFormatter );
39 Formatter* formatter= Formatters[size_t( cntRecursion )];
43 formatter->FormatArgs( target, logables );
47 target << ALOX.GetResource("TLFmtExc
");
48 ALIB_LOCK_RECURSIVE_WITH( format::Formatter::DEFAULT_LOCK )
55void StandardConverter::SetAutoSizes( AutoSizes* autoSizes ) {
56 FormatterPythonStyle* fmtPS= dynamic_cast<FormatterPythonStyle*>( Formatters[0] );
57 if (fmtPS != nullptr )
58 fmtPS->Sizes= autoSizes;
61AutoSizes* StandardConverter::GetAutoSizes() {
62 FormatterPythonStyle* fmtPS= dynamic_cast<FormatterPythonStyle*>( Formatters[0] );
63 if (fmtPS != nullptr )
68void StandardConverter::ResetAutoSizes() {
69 FormatterPythonStyle* fmtPS;
70 for( auto* elem : Formatters )
71 if ( (fmtPS= dynamic_cast<FormatterPythonStyle*>( elem )) != nullptr )
72 fmtPS->Sizes->Reset();
75//##################################################################################################
77//##################################################################################################
78void TextLogger::writeMetaInfo( AString& buf, detail::Domain& domain, Verbosity verbosity,
79 detail::ScopeInfo& scope ) {
81 auto& fmt= varFormatMetaInfo.Get<FormatMetaInfo>();
82 if ( fmt.Format.IsEmpty() )
85 // clear DateTime singleton
86 callerDateTime.Year= (std::numeric_limits<int>::min)();
88 Substring format( fmt.Format );
90 // get next and log substring between commands
91 integer idx= format.IndexOf( '%' );
93 format.ConsumeChars<NC, lang::CurrentData::Keep>( idx, buf, 1 );
94 processVariable( domain.FullPath, verbosity, scope, buf, format );
100void TextLogger::processVariable( const NString& domainPath,
102 detail::ScopeInfo& scope,
104 Substring& variable ) {
106 auto& fmt= varFormatMetaInfo .Get<FormatMetaInfo>();
107 auto& autoSizes= varFormatAutoSizes.Get<FormatAutoSizes>();
109 switch ( variable.ConsumeChar() ) {
115 switch( c2= variable.ConsumeChar() ) {
116 case 'P': // SP: full path
118 val= scope.GetFullPath();
120 val= GetFormatOther().NoSourceFileInfo;
123 case 'p': // Sp: trimmed path
125 integer previousLength= dest.Length();
126 scope.GetTrimmedPath( dest );
127 if( dest.Length() != previousLength )
129 val= GetFormatOther().NoSourceFileInfo;
132 case 'F': // file name
134 val= scope.GetFileName();
136 val= GetFormatOther().NoSourceFileInfo;
139 case 'f': // file name without extension
141 val= scope.GetFileNameWithoutExtension();
143 val= GetFormatOther().NoSourceFileInfo;
147 case 'M': // method name
149 val= scope.GetMethod();
151 val= GetFormatOther().NoMethodInfo;
154 case 'L': // line number
156 dest._<NC>( scope.GetLineNumber() );
162 ALIB_ASSERT_WARNING( FormatWarningOnce, "ALOX",
163 "Unknown
format variable
'%S{}' (only one warning)
", c2 )
164 ALIB_DBG( FormatWarningOnce= true; )
175 c2= variable.ConsumeChar();
179 // get time stamp as CalendarDateTime once
180 if ( callerDateTime.Year == (std::numeric_limits<int>::min)() )
181 callerDateTime.Set( DateConverter.ToDateTime( scope.GetTimeStamp() ) );
183 // if standard format, just write it out
184 if ( GetFormatDate().Date.Equals<NC>( A_CHAR("yyyy-MM-dd
") ) ) {
185 dest._<NC>( alib::Dec( callerDateTime.Year, 4 ) )._<NC>( '-' )
186 ._<NC>( alib::Dec( callerDateTime.Month, 2 ) )._<NC>( '-' )
187 ._<NC>( alib::Dec( callerDateTime.Day, 2 ) );
189 // user-defined format
191 callerDateTime.Format( GetFormatDate().Date, dest );
199 // get time stamp as CalendarDateTime once
200 if ( callerDateTime.Year == (std::numeric_limits<int>::min)() )
201 callerDateTime.Set( DateConverter.ToDateTime( scope.GetTimeStamp() ) );
203 // avoid the allocation of a) a StringBuilder (yes, a string builder is allocated inside StringBuilder.AppendFormat!)
204 // and b) a DateTime object, if the format is the unchanged standard. And it is faster anyhow.
205 if ( GetFormatDate().TimeOfDay.Equals<NC>( A_CHAR("HH:mm:ss
") ) ) {
206 dest._<NC>( alib::Dec(callerDateTime.Hour, 2) )._<NC>( ':' )
207 ._<NC>( alib::Dec(callerDateTime.Minute, 2) )._<NC>( ':' )
208 ._<NC>( alib::Dec(callerDateTime.Second, 2) );
211 // user-defined format
213 callerDateTime.Format( GetFormatDate().TimeOfDay, dest );
216 // %TC: Time elapsed since created
217 else if ( c2 == 'C' ) {
218 auto elapsedTime= scope.GetTimeStamp() - TimeOfCreation;
219 auto elapsedSecs= elapsedTime.InAbsoluteSeconds();
220 CalendarDuration elapsed( elapsedTime );
222 // determine number of segments to write and match this to recent (autosizes) value
223 int timeSize= elapsedSecs >= 24*3600 ? 6
224 : elapsedSecs >= 10*3600 ? 5
225 : elapsedSecs >= 3600 ? 4
226 : elapsedSecs >= 10*60 ? 3
227 : elapsedSecs >= 60 ? 2
228 : elapsedSecs >= 9 ? 1
230 timeSize= int(autoSizes.Main.Next( AutoSizes::Types::Field, timeSize, 0 ));
233 if ( timeSize >= 4 ) dest._<NC>( elapsed.Days )._<NC>( GetFormatDate().ElapsedDays );
234 if ( timeSize >= 3 ) dest._<NC>( alib::Dec(elapsed.Hours , timeSize >= 5 ? 2 : 1 ) )._<NC>( ':' );
235 if ( timeSize >= 2 ) dest._<NC>( alib::Dec(elapsed.Minutes, timeSize >= 3 ? 2 : 1 ) )._<NC>( ':' );
236 dest._<NC>( alib::Dec(elapsed.Seconds, timeSize >= 1 ? 2 : 1) )._<NC>( '.' );
237 dest._<NC>( alib::Dec(elapsed.Milliseconds, 3) );
240 // %TL: Time elapsed since last log call
241 else if ( c2 == 'L' )
242 writeTimeDiff( dest, scope.GetTimeStamp().Since( TimeOfLastLog ).InNanoseconds() );
245 ALIB_ASSERT_WARNING( FormatWarningOnce, "ALOX",
246 "Unknown
format variable
'%T{}' (only one warning)
", c2 )
247 ALIB_DBG( FormatWarningOnce= true; )
256 c2= variable.ConsumeChar();
258 if ( c2 == 'N' ) { // %tN: thread name
259 #if !ALIB_SINGLE_THREADED
260 const String& threadName= scope.GetThreadNameAndID(nullptr);
262 String msg( A_CHAR("SINGLE_THREADED
") );
263 const String& threadName= msg;
265 dest._<NC>( Field( threadName,
267 AutoSizes::Types::Field, threadName.Length(), 0),
268 lang::Alignment::Center ) );
270 else if ( c2 == 'I' ) { // %tI: thread ID
272 #if !ALIB_SINGLE_THREADED
273 threadID._( scope.GetThreadID() );
277 dest._<NC>( Field( threadID,
279 AutoSizes::Types::Field, threadID .Length(), 0),
280 lang::Alignment::Center ) );
282 ALIB_ASSERT_WARNING( FormatWarningOnce, "ALOX",
283 "Unknown
format variable
'%t{}' (only one warning)
", c2 )
284 ALIB_DBG( FormatWarningOnce= true; )
291 c2= variable.ConsumeChar();
292 if ( c2 == 'G' ) dest._<NC>( GetName() );
293 else if ( c2 == 'X' ) dest._<NC>( scope.GetLoxName() );
295 ALIB_ASSERT_WARNING( FormatWarningOnce, "ALOX",
296 "Unknown
format variable
'%L{}' (only one warning)
", c2 )
297 ALIB_DBG( FormatWarningOnce= true; )
304 dest._<NC>( ProcessInfo::Current().Name );
309 dest._<NC>( verbosity == Verbosity::Error ? fmt.VerbosityError
310 : verbosity == Verbosity::Warning ? fmt.VerbosityWarning
311 : verbosity == Verbosity::Info ? fmt.VerbosityInfo
312 : fmt.VerbosityVerbose );
317 dest._( Field( domainPath,
319 AutoSizes::Types::Field, domainPath.Length(), 0 ),
320 lang::Alignment::Left ) );
325 dest._<NC>( alib::Dec( CntLogs, GetFormatOther().LogNumberMinDigits ) );
331 // read extra space from format string
333 if( !variable.ConsumeDecDigits( extraSpace ) )
335 integer currentLength= dest.WStringLength();
336 integer tabPos= autoSizes.Main.Next(
337 AutoSizes::Types::Tabstop, currentLength, extraSpace);
338 dest.InsertChars(' ', tabPos - currentLength );
344 dest._<NC>( GetName() );
348 ALIB_ASSERT_WARNING( FormatWarningOnce, "ALOX",
349 "Unknown
format character '{}' (only one warning)
", *( variable.Buffer() -1 ) )
350 ALIB_DBG( FormatWarningOnce= true; )
355void TextLogger::writeTimeDiff( AString& buf, int64_t diffNanos ) {
356 auto& td= GetFormatTimeDiff();
359 if ( diffNanos < td.Minimum ) {
360 buf._<NC>( td.None );
364 if ( diffNanos < 1000 ) {
365 buf._<NC>( alib::Dec( diffNanos, 3 ) )._<NC>( td.Nanos );
369 // we continue with micros
370 int64_t diffMicros= diffNanos / 1000L;
372 // below 1000 microseconds?
373 if ( diffMicros < 1000 ) {
374 buf._<NC>( alib::Dec( diffMicros, 3 ) );
375 buf._<NC>( td.Micros );
380 if ( diffMicros < 1000000 ) {
381 buf._<NC>( alib::Dec( (diffMicros / 1000), 3 ) )._<NC>( td.Millis );
386 // below 10 secs (rounded) ?
387 if ( diffMicros < 9995000 ) {
388 // convert to hundredth of secs
389 int64_t hundredthSecs= ((diffMicros / 1000) + 5) / 10;
391 // print two digits after dot x.xx
392 buf._<NC>( alib::Dec( (hundredthSecs / 100), 1 ) )
394 ._<NC>( alib::Dec( (hundredthSecs % 100), 2 ) )
399 // convert to tenth of secs
400 int64_t tenthSecs= ((diffMicros / 10000) + 5) / 10 ;
403 if ( tenthSecs < 1000 ) {
404 // print one digits after dot xx.x (round value by adding 5 hundredth)
405 buf._<NC>( alib::Dec( ( tenthSecs / 10 ), 2 ) )
407 ._<NC>( alib::Dec( ( tenthSecs % 10 ), 1 ) )
413 if ( tenthSecs < 6000 ) {
414 // convert to hundredth of minutes
415 int64_t hundredthMins= tenthSecs / 6;
417 // print two digits after dot x.xx
418 buf._<NC>( alib::Dec( (hundredthMins / 100), 1 ) )
420 ._<NC>( alib::Dec( (hundredthMins % 100), 2 ) )
425 // convert to tenth of minutes
426 int64_t tenthMins= tenthSecs / 60;
429 if ( tenthMins < 1000 ) {
430 // print one digits after dot xx.x (round value by adding 5 hundredth)
431 buf._<NC>( alib::Dec( (tenthMins / 10), 2 ) )
433 ._<NC>( alib::Dec( (tenthMins % 10), 1 ) )
439 if ( tenthMins < 6000 ) {
440 // convert to hundredth of hours
441 int64_t hundredthHours= tenthMins / 6;
443 // print two digits after dot x.xx
444 buf._<NC>( alib::Dec( (hundredthHours / 100), 1 ) )
446 ._<NC>( alib::Dec( (hundredthHours % 100), 2 ))
451 // convert to tenth of minutes
452 int64_t tenthHours= tenthMins / 60;
455 if ( tenthHours < 1000 ) {
456 // print two digits after dot x.xx
457 buf._<NC>( alib::Dec( (tenthHours / 10), 2 ) )
459 ._<NC>( alib::Dec( (tenthHours % 10), 1 ) )
465 if ( tenthHours < 1000 ) {
466 // print one digits after dot xx.x (round value by adding 5 hundredth)
467 buf._<NC>( alib::Dec( (tenthHours / 10), 2 ) )
469 ._<NC>( alib::Dec( ((tenthHours / 10) % 10), 1 ) )
474 // convert to hundredth of days
475 int64_t hundredthDays= tenthHours * 10 / 24;
478 if ( hundredthDays < 1000 ) {
479 // print two digits after dot x.xx
480 buf._<NC>( alib::Dec( (hundredthDays / 100), 1 ) )
482 ._<NC>( alib::Dec( (hundredthDays % 100), 2 ) )
487 // 10 days or more (print days plus one digit after the comma)
488 // print one digits after dot xx.x (round value by adding 5 hundredth)
489 buf ._<NC>( alib::Dec( (hundredthDays / 100), 2 ) )
491 ._<NC>( alib::Dec( ((hundredthDays / 10) % 10), 1 ) )
496//##################################################################################################
498//##################################################################################################
499TextLogger::TextLogger( const NString& pName, const NString& typeName )
500: Logger( pName, typeName )
501, varFormatMetaInfo (variables::CampVariable(alib::ALOX))
502, varFormatDateTime (variables::CampVariable(alib::ALOX))
503, varFormatTimeDiff (variables::CampVariable(alib::ALOX))
504, varFormatMultiLine(variables::CampVariable(alib::ALOX))
505, varFormatOther (variables::CampVariable(alib::ALOX))
506, varFormatAutoSizes(variables::CampVariable(alib::ALOX))
507, varReplacements (variables::CampVariable(alib::ALOX))
509 logBuf.SetBuffer( 256 );
510 msgBuf.SetBuffer( 256 );
513TextLogger::~TextLogger() {
516 ALIB_ASSERT( msgBuf.IsEmpty(), "ALOX" )
519void TextLogger::AcknowledgeLox( detail::LoxImpl* , lang::ContainerOp op ) {
520 //--------------------------------------------- insert -------------------------------------------
521 if( op == lang::ContainerOp::Insert ) {
522 if ( Converter == nullptr )
523 Converter= new textlogger::StandardConverter();
525 // Variable AUTO_SIZES: use last session's values
526 {ALIB_LOCK_WITH(ALOX.GetConfig())
527 varFormatAutoSizes.Declare(Variables::AUTO_SIZES, Name );
528 (void) varFormatAutoSizes.Define();
529 Converter->SetAutoSizes( &varFormatAutoSizes.Get<FormatAutoSizes>().LogMessage );
532 // Variable <name>_FORMAT / <typeName>_FORMAT:
533 {ALIB_LOCK_WITH(ALOX.GetConfig())
534 const Declaration* variableDecl= Declaration::Get( Variables::FORMAT );
535 const Declaration* privateDecl= ALOX.GetConfig()->StoreDeclaration(variableDecl, GetName() );
537 if( !varFormatMetaInfo.Try( privateDecl )
538 && !varFormatMetaInfo.Try( ALOX.GetConfig()->StoreDeclaration(variableDecl, GetTypeName() ) ) )
540 varFormatMetaInfo.Declare( privateDecl );
541 ALIB_ASSERT_ERROR(varFormatMetaInfo.IsDefined(), "ALOX",
542 "Mandatory (usually resourced)
default value is missing
for variable \
"{}\".",
549 auto* privateDecl=
ALOX.GetConfig()->StoreDeclaration(variableDecl, GetName() );
550 if( !varFormatDateTime.Try( privateDecl )
551 && !varFormatDateTime.Try(
ALOX.GetConfig()->StoreDeclaration(variableDecl, GetTypeName() ) ) )
553 varFormatDateTime.Declare( privateDecl );
556 "Mandatory (usually resourced) default value is missing for variable \"{}\".",
563 auto* privateDecl=
ALOX.GetConfig()->StoreDeclaration(variableDecl, GetName() );
564 if( !varFormatTimeDiff.Try( privateDecl )
565 && !varFormatTimeDiff.Try(
ALOX.GetConfig()->StoreDeclaration(variableDecl, GetTypeName() ) ) )
567 varFormatTimeDiff.Declare( privateDecl );
569 "Mandatory (usually resourced) default value is missing for variable \"{}\".",
576 auto* privateDecl=
ALOX.GetConfig()->StoreDeclaration(variableDecl, GetName() );
577 if( !varFormatMultiLine.Try( privateDecl )
578 && !varFormatMultiLine.Try(
ALOX.GetConfig()->StoreDeclaration(variableDecl, GetTypeName() ) ) )
580 varFormatMultiLine.Declare( privateDecl );
582 "Mandatory (usually resourced) default value is missing for variable \"{}\".",
589 auto* privateDecl=
ALOX.GetConfig()->StoreDeclaration(variableDecl, GetName() );
590 if( !varFormatOther.Try( privateDecl )
591 && !varFormatOther.Try(
ALOX.GetConfig()->StoreDeclaration(variableDecl, GetTypeName() ) ) )
593 varFormatOther.Declare( privateDecl );
595 "Mandatory (usually resourced) default value is missing for variable \"{}\".",
602 auto* privateDecl =
ALOX.GetConfig()->StoreDeclaration(variableDecl, GetName() );
603 if( !varReplacements.Try( privateDecl)
604 && !varReplacements.Try(
ALOX.GetConfig()->StoreDeclaration(variableDecl, GetTypeName())) )
606 varReplacements.Declare(privateDecl);
611 if( !varReplacements.IsDefined() )
612 (void) varReplacements.Define(Priority::DefaultValues - 1);
619 for(
auto it= replacements.begin(); it < replacements.end(); it+= 2)
620 if ( it->Equals<
NC>( searched ) ) {
623 (*it).Reset( replacement );
627 replacements.erase( it );
628 replacements.erase( it );
634 replacements.insert( replacements.end(),
AStringPA(replacements.get_allocator().GetAllocator()) );
635 replacements.back() << searched;
636 replacements.insert( replacements.end(),
AStringPA(replacements.get_allocator().GetAllocator()) );
637 replacements.back() << replacement;
656 for (
size_t i= 0; i < replacements.size() ; i+= 2 )
657 msgBuf.SearchAndReplace( replacements[i],
665 autoSizes.LogMessage.WriteProtected=
true;
669 autoSizes.Main.Restart();
679 logText( domain, verbosity,
logBuf, scope, -1, isRecursion );
685 if ( multiLine.Mode == 0 ) {
688 String replacement= multiLine.DelimiterReplacement;
689 if ( multiLine.Delimiter.IsNotNull() )
690 cntReplacements+=
msgBuf.SearchAndReplace( multiLine.Delimiter, replacement, msgBufResetter.
OriginalLength() );
698 if ( cntReplacements == 0 ) {
708 logText( domain, verbosity,
logBuf, scope, -1, isRecursion );
712 auto prevIndex= autoSizes.Main.ActualIndex;
718 while ( actStart <
msgBuf.Length() ) {
724 if (multiLine.Delimiter.IsEmpty() ) {
727 actEnd=
msgBuf.IndexOf<
NC>(
'\n', actStart );
728 if( actEnd > actStart ) {
729 if(
msgBuf.CharAt<
NC>(actEnd - 1) ==
'\r' ) {
734 delimLen= multiLine.Delimiter.Length();
735 actEnd=
msgBuf.IndexOf<
NC>( multiLine.Delimiter, actStart );
745 logText( domain, verbosity,
logBuf, scope, -1, isRecursion );
762 if ( lineNo == 0 && ( multiLine.Mode == 3 || multiLine.Mode == 4 ) ) {
764 if ( multiLine.Mode == 3 ) {
766 autoSizes.Main.ActualIndex= prevIndex;
771 lbLenBeforeMsgPart= 0;
775 if ( multiLine.Mode == 2 ) {
778 autoSizes.Main.ActualIndex= prevIndex;
782 logBuf.ShortenTo( lbLenBeforeMsgPart );
783 autoSizes.Main.ActualIndex= prevIndex;
790 actStart= actEnd + delimLen;
791 if ( actStart >=
msgBuf.Length() )
793 logText( domain, verbosity,
logBuf, scope, lineNo, isRecursion );
807 if( autoSizes.Main .IsChanged()
808 || autoSizes.LogMessage.IsChanged() )
#define ALIB_ASSERT_WARNING(cond, domain,...)
#define ALIB_ASSERT_ERROR(cond, domain,...)
#define ALIB_LOCK_WITH(lock)
SharedConfiguration & GetConfig()
static constexpr character EOMETA[4]
End of meta-information in log string.
StandardConverter()
Constructor.
virtual void ConvertObjects(AString &target, BoxesMA &logables) override
virtual ~StandardConverter() override
Virtual destructor.
std::vector< Formatter * > Formatters
int cntRecursion
A counter to detect recursive calls.
Replacements & GetReplacements()
virtual void writeMetaInfo(AString &buffer, detail::Domain &domain, Verbosity verbosity, detail::ScopeInfo &scope)
virtual void SetReplacement(const String &searched, const String &replacement)
Variable varFormatMultiLine
virtual void Log(detail::Domain &domain, Verbosity verbosity, BoxesMA &logables, detail::ScopeInfo &scope) override
virtual void ResetAutoSizes()
AString logBuf
The internal log Buffer.
virtual void logText(detail::Domain &domain, Verbosity verbosity, AString &msg, detail::ScopeInfo &scope, int lineNumber, bool isRecursion)=0
Variable varFormatMetaInfo
AString msgBuf
The buffer for converting the logables.
Variable varFormatAutoSizes
virtual void ClearReplacements()
Removes all pairs of searched strings and their replacement value.
ObjectConverter * Converter
virtual void notifyMultiLineOp(lang::Phase phase)=0
constexpr bool IsNotNull() const
static const Declaration * Get(TEnum element)
@ Begin
The start of a transaction.
@ End
The end of a transaction.
This namespaces defines class #"%TextLogger" and its helpers.
@ FORMAT_TIME_DIFF
Denotes configuration variable #"alxcvALOX_LOGGERNAME_FORMAT_TIME_DIFF" used by class #"TextLogger".
@ REPLACEMENTS
Denotes configuration variable #"alxcvALOX_LOGGERNAME_REPLACEMENTS" used by class #"TextLogger".
@ FORMAT_DATE_TIME
Denotes configuration variable #"alxcvALOX_LOGGERNAME_FORMAT_DATE_TIME" used by class #"TextLogger".
@ FORMAT_MULTILINE
Denotes configuration variable #"alxcvALOX_LOGGERNAME_FORMAT_MULTILINE" used by class #"TextLogger".
@ FORMAT_OTHER
Denotes configuration variable #"alxcvALOX_LOGGERNAME_FORMAT_OTHER" used by class #"TextLogger".
strings::TAString< character, PoolAllocator > AStringPA
Type alias in namespace #"%alib".
lox::ALoxCamp ALOX
The singleton instance of ALib Camp class #"ALoxCamp".
lang::integer integer
Type alias in namespace #"%alib".
strings::TString< character > String
Type alias in namespace #"%alib".
boxing::TBoxes< MonoAllocator > BoxesMA
Type alias in namespace #"%alib".
strings::TAString< character, lang::HeapAllocator > AString
Type alias in namespace #"%alib".
characters::character character
Type alias in namespace #"%alib".
format::FormatterPythonStyle FormatterPythonStyle
Type alias in namespace #"%alib".
variables::Declaration Declaration
Type alias in namespace #"%alib".
strings::TStringLengthResetter< character,lang::HeapAllocator > StringLengthResetter
Type alias in namespace #"%alib".
format::FormatterJavaStyle FormatterJavaStyle
Type alias in namespace #"%alib".
AutoSizes Main
The instance used with the meta info format string.