This class can be used to print logs created by TcrSdk.
More...
#include <log_utils.h>
|
static void | SetLogger (std::shared_ptr< TcrLogger >logger) |
| Set a logger for the TcrSdk.
|
|
static void | t (const char *tag, const char *log) |
|
static void | d (const char *tag, const char *log) |
|
static void | i (const char *tag, const char *log) |
|
static void | w (const char *tag, const char *log) |
|
static void | e (const char *tag, const char *log) |
|
This class can be used to print logs created by TcrSdk.
◆ d()
static void d |
( |
const char * |
tag, |
|
|
const char * |
log |
|
) |
| |
|
static |
◆ e()
static void e |
( |
const char * |
tag, |
|
|
const char * |
log |
|
) |
| |
|
static |
◆ i()
static void i |
( |
const char * |
tag, |
|
|
const char * |
log |
|
) |
| |
|
static |
◆ SetLogger()
static void SetLogger |
( |
std::shared_ptr< TcrLogger > |
logger | ) |
|
|
static |
Set a logger for the TcrSdk.
By default, the TcrSdk will print logs to a temporary file on the sdcard as well as the android device logs. If you set a custom logger via this method, the TcrSdk will then only callback logs to your logger.
This method can be called before {
- See also
- TcrSession(TcrSession::Observer).
- Parameters
-
logger | the TcrLogger object to be set. It should not be null. |
◆ t()
static void t |
( |
const char * |
tag, |
|
|
const char * |
log |
|
) |
| |
|
static |
◆ w()
static void w |
( |
const char * |
tag, |
|
|
const char * |
log |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: