java.lang.Object | |
↳ | com.pspdfkit.utils.LogCatLogger |
Logger that logs all messages to LogCat.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
LogCatLogger() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
isLogged(int priority, String tag)
Override this method to enable or disable logging for log with given
priority and
tag . | ||||||||||
void |
log(int priority, String tag, String message, Throwable throwable)
Implement this method to log messages.
| ||||||||||
void |
setEnabled(boolean isEnabled)
Sets whether this logger is enabled.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Override this method to enable or disable logging for log with given priority
and
tag
. By default all log requests are handled.
priority | The priority of this log message. |
---|---|
tag | Tag to identify the source of this log message. |
Implement this method to log messages.
priority | The priority of this log message. |
---|---|
tag | Tag to identify the source of this log message. |
message | Message that should be logged. |
throwable | Optional throwable attached to log message. |
Sets whether this logger is enabled. If enabled, all logs are printed to LogCat. If disabled, all logs are ignored.
isEnabled | Prints all logs to LogCat if true , ignores all logs when false .
|
---|