java.lang.Object | |
↳ | com.facebook.common.logging.FLogDefaultLoggingDelegate |
Default implementation of LoggingDelegate
.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final FLogDefaultLoggingDelegate | sInstance |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
d(String tag, String msg, Throwable tr)
Send a
DEBUG log message and log the exception. | ||||||||||
void |
d(String tag, String msg)
Send a
DEBUG log message. | ||||||||||
void |
e(String tag, String msg)
Send an
ERROR log message. | ||||||||||
void |
e(String tag, String msg, Throwable tr)
Send a
ERROR log message and log the exception. | ||||||||||
static FLogDefaultLoggingDelegate | getInstance() | ||||||||||
int |
getMinimumLoggingLevel()
Gets a minimum log-level under which the logger will not log regardless of other checks.
| ||||||||||
void |
i(String tag, String msg, Throwable tr)
Send a
INFO log message and log the exception. | ||||||||||
void |
i(String tag, String msg)
Send an
INFO log message. | ||||||||||
boolean |
isLoggable(int level)
Gets whether the specified level is loggable.
| ||||||||||
void |
log(int priority, String tag, String msg)
Logs a message.
| ||||||||||
void |
setApplicationTag(String tag)
Sets an application tag that is used for checking if a log line is loggable and also to prefix
to all log lines.
| ||||||||||
void |
setMinimumLoggingLevel(int level)
Sets a minimum log-level under which the logger will not log regardless of other checks.
| ||||||||||
void |
v(String tag, String msg)
Send a
VERBOSE log message. | ||||||||||
void |
v(String tag, String msg, Throwable tr)
Send a
VERBOSE log message and log the exception. | ||||||||||
void |
w(String tag, String msg, Throwable tr)
Send a
WARN log message and log the exception. | ||||||||||
void |
w(String tag, String msg)
Send a
WARN log message. | ||||||||||
void |
wtf(String tag, String msg)
Note: this gets forwarded to
android.util.Log.e as android.util.Log.wtf might
crash the app. | ||||||||||
void |
wtf(String tag, String msg, Throwable tr)
Note: this gets forwarded to
android.util.Log.e as android.util.Log.wtf might
crash the app. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.facebook.common.logging.LoggingDelegate
|
Send a DEBUG
log message and log the exception.
tag | Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs. |
---|---|
msg | The message you would like logged. |
tr | An exception to log |
Send a DEBUG
log message.
tag | Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs. |
---|---|
msg | The message you would like logged. |
Send an ERROR
log message.
tag | Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs. |
---|---|
msg | The message you would like logged. |
Send a ERROR
log message and log the exception.
tag | Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs. |
---|---|
msg | The message you would like logged. |
tr | An exception to log |
Gets a minimum log-level under which the logger will not log regardless of other checks.
Send a INFO
log message and log the exception.
tag | Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs. |
---|---|
msg | The message you would like logged. |
tr | An exception to log |
Send an INFO
log message.
tag | Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs. |
---|---|
msg | The message you would like logged. |
Gets whether the specified level is loggable.
level | the level to check |
---|
Logs a message.
priority | the priority of the message |
---|---|
tag | Used to identify the source of a log message. |
msg | The message you would like logged. |
Sets an application tag that is used for checking if a log line is loggable and also to prefix to all log lines.
tag | the tag |
---|
Sets a minimum log-level under which the logger will not log regardless of other checks.
level | the minimum level to set |
---|
Send a VERBOSE
log message.
tag | Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs. |
---|---|
msg | The message you would like logged. |
Send a VERBOSE
log message and log the exception.
tag | Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs. |
---|---|
msg | The message you would like logged. |
tr | An exception to log |
Send a WARN
log message and log the exception.
tag | Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs. |
---|---|
msg | The message you would like logged. |
tr | An exception to log |
Send a WARN
log message.
tag | Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs. |
---|---|
msg | The message you would like logged. |
Note: this gets forwarded to android.util.Log.e
as android.util.Log.wtf
might
crash the app.
tag | Used to identify the source of a log message. |
---|---|
msg | The message you would like logged. |
Note: this gets forwarded to android.util.Log.e
as android.util.Log.wtf
might
crash the app.
tag | Used to identify the source of a log message. |
---|---|
msg | The message you would like logged. |
tr | An exception to log. May be null. |