Speedify SDK for Android  15.0.0
Public Member Functions | Static Public Member Functions | List of all members
com.speedify.speedifysdk.Logging.LogHandler Class Reference

Detailed Description

Log handler for a class.

Since
5.6

Public Member Functions

 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...
 

Static Public Member Functions

static void setVendorLogListener (LogListener loglistener)
 Adds an a callback which will receive all log messages. More...
 

Constructor & Destructor Documentation

◆ LogHandler()

com.speedify.speedifysdk.Logging.LogHandler.LogHandler ( Class  c)

Default Constructor.

Parameters
cclass this logger is for
Since
5.6

Member Function Documentation

◆ debug() [1/2]

void com.speedify.speedifysdk.Logging.LogHandler.debug ( String  message)

Logs to 'debug' level.

Parameters
messagelog message
Since
5.6

◆ debug() [2/2]

void com.speedify.speedifysdk.Logging.LogHandler.debug ( String  message,
Throwable  th 
)

Logs to 'debug' level.

Parameters
messagelog message
ththrowable object
Since
5.6

◆ error() [1/2]

void com.speedify.speedifysdk.Logging.LogHandler.error ( String  message)

Logs to 'error' level.

Parameters
messagelog message
Since
5.6

◆ error() [2/2]

void com.speedify.speedifysdk.Logging.LogHandler.error ( String  message,
Throwable  th 
)

Logs to 'error' level.

Parameters
messagelog message
ththrowable object
Since
5.6

◆ info()

void com.speedify.speedifysdk.Logging.LogHandler.info ( String  message)

Logs to 'info' level.

Parameters
messagelog message
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
loglistenerAn 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
messagelog message
Since
5.6

◆ warn() [2/2]

void com.speedify.speedifysdk.Logging.LogHandler.warn ( String  message,
Throwable  th 
)

Logs to 'warn' level.

Parameters
messagelog message
ththrowable object
Since
5.6

The documentation for this class was generated from the following file: