- fileNameGenerator(FileNameGenerator) - Method in class com.elvishew.xlog.printer.file.FilePrinter.Builder
-
Set the file name generator for log file.
- FileNameGenerator - Interface in com.elvishew.xlog.printer.file.naming
-
Generates names for log files.
- FilePrinter - Class in com.elvishew.xlog.printer.file
-
- FilePrinter.Builder - Class in com.elvishew.xlog.printer.file
-
- FileSizeBackupStrategy - Class in com.elvishew.xlog.printer.file.backup
-
Limit the file size of a max length.
- FileSizeBackupStrategy(long) - Constructor for class com.elvishew.xlog.printer.file.backup.FileSizeBackupStrategy
-
Constructor.
- flatten(int, String, String) - Method in class com.elvishew.xlog.flattener.DefaultFlattener
-
- flatten(int, String, String) - Method in interface com.elvishew.xlog.flattener.Flattener
-
Flatten the log.
- flatten(int, String, String) - Method in class com.elvishew.xlog.flattener.PatternFlattener
-
- Flattener - Interface in com.elvishew.xlog.flattener
-
The log flattener used to flatten log elements(log level, tag and message) to a
single Charsequence.
- format(String[]) - Method in class com.elvishew.xlog.formatter.border.DefaultBorderFormatter
-
- format(T) - Method in interface com.elvishew.xlog.formatter.Formatter
-
Format the data to a readable and loggable string.
- format(String) - Method in class com.elvishew.xlog.formatter.message.json.DefaultJsonFormatter
-
- format(Throwable) - Method in class com.elvishew.xlog.formatter.message.throwable.DefaultThrowableFormatter
-
- format(String) - Method in class com.elvishew.xlog.formatter.message.xml.DefaultXmlFormatter
-
- format(StackTraceElement[]) - Method in class com.elvishew.xlog.formatter.stacktrace.DefaultStackTraceFormatter
-
- format(Thread) - Method in class com.elvishew.xlog.formatter.thread.DefaultThreadFormatter
-
- FormatException - Exception in com.elvishew.xlog.formatter
-
Thrown to indicate that the format of the data is something wrong.
- FormatException() - Constructor for exception com.elvishew.xlog.formatter.FormatException
-
Constructs an FormatException with no
detail message.
- FormatException(String) - Constructor for exception com.elvishew.xlog.formatter.FormatException
-
Constructs an FormatException with the
specified detail message.
- FormatException(String, Throwable) - Constructor for exception com.elvishew.xlog.formatter.FormatException
-
Constructs a new exception with the specified detail message and
cause.
- FormatException(Throwable) - Constructor for exception com.elvishew.xlog.formatter.FormatException
-
Constructs a new exception with the specified cause and a detail
message of (cause==null ? null : cause.toString()) (which
typically contains the class and detail message of cause).
- formatJson(String) - Static method in class com.elvishew.xlog.LogUtils
-
Format a JSON string using default JSON formatter.
- formatStackTrace(StackTraceElement[]) - Static method in class com.elvishew.xlog.LogUtils
-
Format a stack trace using default stack trace formatter.
- Formatter<T> - Interface in com.elvishew.xlog.formatter
-
A formatter is used for format the data that is not a string, or that is a string but not well
formatted, we should format the data to a well formatted string so printers can print them.
- formatThread(Thread) - Static method in class com.elvishew.xlog.LogUtils
-
Format a thread using default thread formatter.
- formatThrowable(Throwable) - Static method in class com.elvishew.xlog.LogUtils
-
Format a throwable using default throwable formatter.
- formatXml(String) - Static method in class com.elvishew.xlog.LogUtils
-
Format an XML string using default XML formatter.