- FileLastModifiedCleanStrategy - Class in com.elvishew.xlog.printer.file.clean
-
Limit the file life of a max time.
- FileLastModifiedCleanStrategy(long) - Constructor for class com.elvishew.xlog.printer.file.clean.FileLastModifiedCleanStrategy
-
Constructor.
- 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(long, int, String, String) - Method in class com.elvishew.xlog.flattener.DefaultFlattener
-
- flatten(int, String, String) - Method in interface com.elvishew.xlog.flattener.Flattener
-
Deprecated.
Flatten the log.
- flatten(long, int, String, String) - Method in interface com.elvishew.xlog.flattener.Flattener2
-
Flatten the log.
- flatten(int, String, String) - Method in class com.elvishew.xlog.flattener.PatternFlattener
-
- flatten(long, int, String, String) - Method in class com.elvishew.xlog.flattener.PatternFlattener
-
- Flattener - Interface in com.elvishew.xlog.flattener
-
- flattener(Flattener2) - Method in class com.elvishew.xlog.printer.file.FilePrinter.Builder
-
Set the flattener when print a log.
- Flattener2 - Interface in com.elvishew.xlog.flattener
-
The flattener used to flatten log elements(log time milliseconds, 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(Bundle) - Method in class com.elvishew.xlog.formatter.message.object.BundleFormatter
-
Format an Bundle object to a string.
- format(Intent) - Method in class com.elvishew.xlog.formatter.message.object.IntentFormatter
-
Format an Intent object to a string.
- 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 a FormatException with no
detail message.
- FormatException(String) - Constructor for exception com.elvishew.xlog.formatter.FormatException
-
Constructs a 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.
- i(Object) - Method in class com.elvishew.xlog.Logger.Builder
-
- i(Object[]) - Method in class com.elvishew.xlog.Logger.Builder
-
- i(String, Object...) - Method in class com.elvishew.xlog.Logger.Builder
-
- i(String) - Method in class com.elvishew.xlog.Logger.Builder
-
- i(String, Throwable) - Method in class com.elvishew.xlog.Logger.Builder
-
- i(Object) - Method in class com.elvishew.xlog.Logger
-
- i(Object[]) - Method in class com.elvishew.xlog.Logger
-
- i(String, Object...) - Method in class com.elvishew.xlog.Logger
-
- i(String) - Method in class com.elvishew.xlog.Logger
-
- i(String, Throwable) - Method in class com.elvishew.xlog.Logger
-
- i(Object) - Static method in class com.elvishew.xlog.XLog
-
- i(Object[]) - Static method in class com.elvishew.xlog.XLog
-
- i(String, Object...) - Static method in class com.elvishew.xlog.XLog
-
- i(String) - Static method in class com.elvishew.xlog.XLog
-
- i(String, Throwable) - Static method in class com.elvishew.xlog.XLog
-
- i(String, String) - Static method in class com.elvishew.xlog.XLog.Log
-
- i(String, String, Throwable) - Static method in class com.elvishew.xlog.XLog.Log
-
- INFO - Static variable in class com.elvishew.xlog.LogLevel
-
Log level for XLog.i.
- init() - Static method in class com.elvishew.xlog.XLog
-
Initialize log system, should be called only once.
- init(int) - Static method in class com.elvishew.xlog.XLog
-
Initialize log system, should be called only once.
- init(int, LogConfiguration) - Static method in class com.elvishew.xlog.XLog
-
- init(LogConfiguration) - Static method in class com.elvishew.xlog.XLog
-
Initialize log system, should be called only once.
- init(Printer...) - Static method in class com.elvishew.xlog.XLog
-
Initialize log system, should be called only once.
- init(int, Printer...) - Static method in class com.elvishew.xlog.XLog
-
Initialize log system, should be called only once.
- init(int, LogConfiguration, Printer...) - Static method in class com.elvishew.xlog.XLog
-
- init(LogConfiguration, Printer...) - Static method in class com.elvishew.xlog.XLog
-
Initialize log system, should be called only once.
- IntentFormatter - Class in com.elvishew.xlog.formatter.message.object
-
Format an Intent object to a string.
- IntentFormatter() - Constructor for class com.elvishew.xlog.formatter.message.object.IntentFormatter
-
- intentToString(Intent) - Static method in class com.elvishew.xlog.internal.util.ObjectToStringUtil
-
Intent object to string, the string would be in the format of "Intent { ...
- intercept(LogItem) - Method in class com.elvishew.xlog.interceptor.AbstractFilterInterceptor
-
Intercept the log.
- intercept(LogItem) - Method in interface com.elvishew.xlog.interceptor.Interceptor
-
Intercept the log.
- Interceptor - Interface in com.elvishew.xlog.interceptor
-
Interceptors are used to intercept every log after formatting message, thread info and
stack trace info, and before printing, normally we can modify or drop the log.
- interceptors - Variable in class com.elvishew.xlog.LogConfiguration
-
The interceptors, used to intercept the log when logging.
- isFileNameChangeable() - Method in class com.elvishew.xlog.printer.file.naming.ChangelessFileNameGenerator
-
- isFileNameChangeable() - Method in class com.elvishew.xlog.printer.file.naming.DateFileNameGenerator
-
- isFileNameChangeable() - Method in interface com.elvishew.xlog.printer.file.naming.FileNameGenerator
-
Whether the generated file name will change or not.
- isFileNameChangeable() - Method in class com.elvishew.xlog.printer.file.naming.LevelFileNameGenerator
-
- isLoggable(String, int) - Static method in class com.elvishew.xlog.XLog.Log
-
- level - Variable in class com.elvishew.xlog.LogItem
-
Level of the log.
- LevelFileNameGenerator - Class in com.elvishew.xlog.printer.file.naming
-
Generate file name according to the log level, different levels lead to different file names.
- LevelFileNameGenerator() - Constructor for class com.elvishew.xlog.printer.file.naming.LevelFileNameGenerator
-
- lineSeparator - Static variable in class com.elvishew.xlog.internal.SystemCompat
-
The line separator of system.
- log(int, Object) - Method in class com.elvishew.xlog.Logger.Builder
-
- log(int, Object[]) - Method in class com.elvishew.xlog.Logger.Builder
-
- log(int, String, Object...) - Method in class com.elvishew.xlog.Logger.Builder
-
- log(int, String) - Method in class com.elvishew.xlog.Logger.Builder
-
- log(int, String, Throwable) - Method in class com.elvishew.xlog.Logger.Builder
-
- log(int, Object) - Method in class com.elvishew.xlog.Logger
-
Log an object with specific log level.
- log(int, Object[]) - Method in class com.elvishew.xlog.Logger
-
Log an array with specific log level.
- log(int, String, Object...) - Method in class com.elvishew.xlog.Logger
-
Log a message with specific log level.
- log(int, String) - Method in class com.elvishew.xlog.Logger
-
Log a message with specific log level.
- log(int, String, Throwable) - Method in class com.elvishew.xlog.Logger
-
Log a message and a throwable with specific log level.
- log(int, Object) - Static method in class com.elvishew.xlog.XLog
-
Log an object with specific log level.
- log(int, Object[]) - Static method in class com.elvishew.xlog.XLog
-
Log an array with specific log level.
- log(int, String, Object...) - Static method in class com.elvishew.xlog.XLog
-
Log a message with specific log level.
- log(int, String) - Static method in class com.elvishew.xlog.XLog
-
Log a message with specific log level.
- log(int, String, Throwable) - Static method in class com.elvishew.xlog.XLog
-
Log a message and a throwable with specific log level.
- Log() - Constructor for class com.elvishew.xlog.XLog.Log
-
Deprecated.
- LogConfiguration - Class in com.elvishew.xlog
-
The configuration used for logging, always attached to a
Logger, will affect all logs
logged by the
Logger.
- LogConfiguration.Builder - Class in com.elvishew.xlog
-
- logFlattener(Flattener) - Method in class com.elvishew.xlog.printer.file.FilePrinter.Builder
-
- LogFlattener - Interface in com.elvishew.xlog.printer.flattener
-
- Logger - Class in com.elvishew.xlog
-
A logger is used to do the real logging work, can use multiple log printers to print the log.
- Logger.Builder - Class in com.elvishew.xlog
-
- LogItem - Class in com.elvishew.xlog
-
Represent a single log going to be printed.
- LogItem(int, String, String) - Constructor for class com.elvishew.xlog.LogItem
-
- LogItem(int, String, String, String, String) - Constructor for class com.elvishew.xlog.LogItem
-
- logLevel(int) - Method in class com.elvishew.xlog.LogConfiguration.Builder
-
Set the log level, the logs below of which would not be printed.
- logLevel - Variable in class com.elvishew.xlog.LogConfiguration
-
The log level, the logs below of which would not be printed.
- logLevel(int) - Method in class com.elvishew.xlog.Logger.Builder
-
Set the log level, the logs below of which would not be printed.
- LogLevel - Class in com.elvishew.xlog
-
Log level indicate how important the log is.
- LogLevel() - Constructor for class com.elvishew.xlog.LogLevel
-
- logLevel(int) - Static method in class com.elvishew.xlog.XLog
-
Start to customize a
Logger and set the log level.
- LogUtils - Class in com.elvishew.xlog
-
Utilities for convenience.
- LogUtils() - Constructor for class com.elvishew.xlog.LogUtils
-