Log handler for a class.
- Since
- 5.6
|
| LogHandler (Class c) |
| Default Constructor. More...
|
|
void | info (String message) |
| Logs to 'info' level. More...
|
|
void | debug (String message) |
| Logs to 'debug' level. More...
|
|
void | debug (String message, Throwable th) |
| Logs to 'debug' level. More...
|
|
void | warn (String message) |
| Logs to 'warn' level. More...
|
|
void | warn (String message, Throwable th) |
| Logs to 'warn' level. More...
|
|
void | error (String message) |
| Logs to 'error' level. More...
|
|
void | error (String message, Throwable th) |
| Logs to 'error' level. More...
|
|
◆ LogHandler()
com.speedify.speedifysdk.Logging.LogHandler.LogHandler |
( |
Class |
c | ) |
|
Default Constructor.
- Parameters
-
c | class this logger is for |
- Since
- 5.6
◆ debug() [1/2]
void com.speedify.speedifysdk.Logging.LogHandler.debug |
( |
String |
message | ) |
|
Logs to 'debug' level.
- Parameters
-
- Since
- 5.6
◆ debug() [2/2]
void com.speedify.speedifysdk.Logging.LogHandler.debug |
( |
String |
message, |
|
|
Throwable |
th |
|
) |
| |
Logs to 'debug' level.
- Parameters
-
message | log message |
th | throwable object |
- Since
- 5.6
◆ error() [1/2]
void com.speedify.speedifysdk.Logging.LogHandler.error |
( |
String |
message | ) |
|
Logs to 'error' level.
- Parameters
-
- Since
- 5.6
◆ error() [2/2]
void com.speedify.speedifysdk.Logging.LogHandler.error |
( |
String |
message, |
|
|
Throwable |
th |
|
) |
| |
Logs to 'error' level.
- Parameters
-
message | log message |
th | throwable object |
- Since
- 5.6
◆ info()
void com.speedify.speedifysdk.Logging.LogHandler.info |
( |
String |
message | ) |
|
Logs to 'info' level.
- Parameters
-
- Since
- 5.6
◆ setVendorLogListener()
static void com.speedify.speedifysdk.Logging.LogHandler.setVendorLogListener |
( |
LogListener |
loglistener | ) |
|
|
static |
Adds an a callback which will receive all log messages.
- Parameters
-
loglistener | An implementation of the LogListener inferface |
- Since
- 14.0
◆ warn() [1/2]
void com.speedify.speedifysdk.Logging.LogHandler.warn |
( |
String |
message | ) |
|
Logs to 'warn' level.
- Parameters
-
- Since
- 5.6
◆ warn() [2/2]
void com.speedify.speedifysdk.Logging.LogHandler.warn |
( |
String |
message, |
|
|
Throwable |
th |
|
) |
| |
Logs to 'warn' level.
- Parameters
-
message | log message |
th | throwable object |
- Since
- 5.6
The documentation for this class was generated from the following file: