java.lang.Object | |
↳ | com.kinvey.java.Logger |
This class is used statically throughout the library. It will delegate to an instance of a `KinveyLogger`, which does the actual log writing.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | Logger.KinveyLogger | This interface defines the behaivor of a platform specific logger |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Logger() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static void |
DEBUG(String message)
Log a debug message
| ||||||||||
static void |
ERROR(String message)
Log an error message
| ||||||||||
static void |
INFO(String message)
Log an info message
| ||||||||||
static void |
TRACE(String message)
Log a trace message
| ||||||||||
static void |
WARNING(String message)
log a warning message
| ||||||||||
Logger | all() | ||||||||||
static Logger | configBuilder() | ||||||||||
Logger |
debug()
Enable debug level logging
| ||||||||||
Logger |
error()
Enable error level logging
| ||||||||||
Logger |
info()
Enable info level logging
| ||||||||||
static void |
init(Logger.KinveyLogger log)
Initialize this Logger with an instance of a KinveyLogger, defaults to no logging at all.
| ||||||||||
Logger | network() | ||||||||||
Logger |
trace()
Enable trace level logging
| ||||||||||
Logger |
warning()
Enable warning level logging
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Log a debug message
Log an error message
Log an info message
Log a trace message
log a warning message
Initialize this Logger with an instance of a KinveyLogger, defaults to no logging at all.