Package arc.util
Class Logger
java.lang.Object
arc.util.Logger
Logger with topics.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic interfacestatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Logger.LoggerHandlerstatic Logger.TopicFormatterprotected static final Object[]nullto useLog.formatter.Custom logging level.String[]Commonly the first topic is a main and second is a thing related. -
Constructor Summary
ConstructorsConstructorDescriptionLogger()Uses the capitalized class name (without package) as a topic.Uses the capitalized class name (without package) for the first class, and the fully qualified class name for others. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidln()Log an empty "info" line.voidlog(Log.LogLevel level, String text) voidlog(Log.LogLevel level, String text, Object... args) voidlog(Log.LogLevel level, String text, Throwable th, Object... args) voidvoidvoid
-
Field Details
-
empty
-
defaultLogger
-
defaultTopicFormatter
-
level
Custom logging level.nullto useLog.level. -
topics
Commonly the first topic is a main and second is a thing related.nullif no topics. -
logger
-
topicFormatter
-
formatter
nullto useLog.formatter.
-
-
Constructor Details
-
Logger
public Logger() -
Logger
Uses the capitalized class name (without package) as a topic. -
Logger
Uses the capitalized class name (without package) for the first class, and the fully qualified class name for others. -
Logger
-
Logger
-
-
Method Details
-
log
-
log
-
log
-
debug
-
debug
-
debug
-
info
-
info
-
info
-
warn
-
warn
-
warn
-
err
-
err
-
err
-
err
-
err
-
err
-
ln
public void ln()Log an empty "info" line.
-