LoggerConfiguration¶
-
public class
LoggerConfiguration¶ This class represents the logging configuration for the system.
xLog is used as logging backend.
If using the aar version of the API, add to your build.gradle:
compile 'com.elvishew:xlog:1.3.0'Use the
Builderclass to get a valid configuration.
Fields¶
Methods¶
getBorderLogging¶
-
public boolean
getBorderLogging()¶ Get if the fancy border is enabled.
- Returns
trueif the fancy border is enabled.
getFileLogging¶
-
public boolean
getFileLogging()¶ Get if file logging is enabled.
- Returns
trueif file logging is enabled.
getImprovedErrors¶
-
public boolean
getImprovedErrors()¶ Get if error messages should have increased visibility.
- Returns
trueif error messages should have increased visibility.
getLogLevel¶
getStackTraceLogging¶
-
public boolean
getStackTraceLogging()¶ Get if stacktrace information is enabled.
- Returns
trueif stacktrace is enabled.
getStackTraceLoggingDepth¶
-
public int
getStackTraceLoggingDepth()¶ Get the depth of the stacktrace information.
This is ignored if
getStackTraceLogging()isfalse.- Returns
A integer detailing the stacktrace depth.