TcrSdk-Windows V1.0
Static Public Member Functions | List of all members
LogUtils Class Reference

This class can be used to print logs created by TcrSdk. More...

#include <log_utils.h>

Static Public Member Functions

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)
 

Detailed Description

This class can be used to print logs created by TcrSdk.

Member Function Documentation

◆ 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
loggerthe 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: