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
Builder
class to get a valid configuration.
Fields¶
Methods¶
getBorderLogging¶
-
public boolean
getBorderLogging
()¶ Get if the fancy border is enabled.
- Returns
true
if the fancy border is enabled.
getFileLogging¶
-
public boolean
getFileLogging
()¶ Get if file logging is enabled.
- Returns
true
if file logging is enabled.
getImprovedErrors¶
-
public boolean
getImprovedErrors
()¶ Get if error messages should have increased visibility.
- Returns
true
if error messages should have increased visibility.
getLogLevel¶
getStackTraceLogging¶
-
public boolean
getStackTraceLogging
()¶ Get if stacktrace information is enabled.
- Returns
true
if 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.