public interface Logger
LogManager.setLogger(Logger).LogManager| Modifier and Type | Method and Description |
|---|---|
void |
d(String tag,
String message,
Object... args)
Send a debug log message.
|
void |
d(Throwable t,
String tag,
String message,
Object... args)
Send a debug log message.
|
void |
e(String tag,
String message,
Object... args)
Send a error log message.
|
void |
e(Throwable t,
String tag,
String message,
Object... args)
Send a error log message.
|
void |
i(String tag,
String message,
Object... args)
Send a info log message.
|
void |
i(Throwable t,
String tag,
String message,
Object... args)
Send a info log message.
|
void |
v(String tag,
String message,
Object... args)
Send a verbose log message.
|
void |
v(Throwable t,
String tag,
String message,
Object... args)
Send a verbose log message.
|
void |
w(String tag,
String message,
Object... args)
Send a warning log message.
|
void |
w(Throwable t,
String tag,
String message,
Object... args)
Send a warning log message.
|
void v(String tag, String message, Object... args)
tag - Used to identify the source of a log message. It usually identifies
the class or activity where the log call occurs.message - The message you would like logged. This message may contain string formatting
which will be replaced with values from args.args - Arguments for string formatting.Log.v(String, String),
Formatter,
String.format(String, Object...)void v(Throwable t, String tag, String message, Object... args)
tag - Used to identify the source of a log message. It usually identifies
the class or activity where the log call occurs.message - The message you would like logged. This message may contain string formatting
which will be replaced with values from args.t - An exception to log.args - Arguments for string formatting.Log.v(String, String, Throwable),
Formatter,
String.format(String, Object...)void d(String tag, String message, Object... args)
tag - Used to identify the source of a log message. It usually identifies
the class or activity where the log call occurs.message - The message you would like logged. This message may contain string formatting
which will be replaced with values from args.args - Arguments for string formatting.Log.d(String, String),
Formatter,
String.format(String, Object...)void d(Throwable t, String tag, String message, Object... args)
tag - Used to identify the source of a log message. It usually identifies
the class or activity where the log call occurs.message - The message you would like logged. This message may contain string formatting
which will be replaced with values from args.t - An exception to log.args - Arguments for string formatting.Log.d(String, String, Throwable),
Formatter,
String.format(String, Object...)void i(String tag, String message, Object... args)
tag - Used to identify the source of a log message. It usually identifies
the class or activity where the log call occurs.message - The message you would like logged. This message may contain string formatting
which will be replaced with values from args.args - Arguments for string formatting.Log.i(String, String),
Formatter,
String.format(String, Object...)void i(Throwable t, String tag, String message, Object... args)
tag - Used to identify the source of a log message. It usually identifies
the class or activity where the log call occurs.message - The message you would like logged. This message may contain string formatting
which will be replaced with values from args.t - An exception to log.args - Arguments for string formatting.Log.i(String, String, Throwable),
Formatter,
String.format(String, Object...)void w(String tag, String message, Object... args)
tag - Used to identify the source of a log message. It usually identifies
the class or activity where the log call occurs.message - The message you would like logged. This message may contain string formatting
which will be replaced with values from args.args - Arguments for string formatting.Log.w(String, String),
Formatter,
String.format(String, Object...)void w(Throwable t, String tag, String message, Object... args)
tag - Used to identify the source of a log message. It usually identifies
the class or activity where the log call occurs.message - The message you would like logged. This message may contain string formatting
which will be replaced with values from args.t - An exception to log.args - Arguments for string formatting.Log.w(String, String, Throwable),
Formatter,
String.format(String, Object...)void e(String tag, String message, Object... args)
tag - Used to identify the source of a log message. It usually identifies
the class or activity where the log call occurs.message - The message you would like logged. This message may contain string formatting
which will be replaced with values from args.args - Arguments for string formatting.Log.e(String, String),
Formatter,
String.format(String, Object...)void e(Throwable t, String tag, String message, Object... args)
tag - Used to identify the source of a log message. It usually identifies
the class or activity where the log call occurs.message - The message you would like logged. This message may contain string formatting
which will be replaced with values from args.t - An exception to log.args - Arguments for string formatting.Log.e(String, String, Throwable),
Formatter,
String.format(String, Object...)