Class

LogManager

LogManager(sdkopt, levelopt, mapperopt)

Provides logging logic
Constructor

# new LogManager(sdkopt, levelopt, mapperopt)

Parameters:
Name Type Attributes Description
sdk Record.<any, any> <optional>
level LogLevel <optional>
mapper LogMethodMapInterface <optional>
Implements:
  • LogManagerInterface

View Source src/log-manager.ts, line 17

Classes

LogManager
LogManager

Methods

# addClient(sdkopt, levelopt, methodMapopt) → {void}

Parameters:
Name Type Attributes Description
sdk Record.<any, any> <optional>
level LogLevel <optional>
methodMap LogMethodMapInterface <optional>

View Source src/log-manager.ts, line 184

void

# debug(args) → {void}

Parameters:
Name Type Description
args Array.<any>

View Source src/log-manager.ts, line 158

void

# error(args) → {void}

Parameters:
Name Type Description
args Array.<any>

View Source src/log-manager.ts, line 176

void

# info(args) → {void}

Parameters:
Name Type Description
args Array.<any>

View Source src/log-manager.ts, line 164

void

# log(level, args) → {void}

Parameters:
Name Type Description
level LogLevel
args Array.<any>

View Source src/log-manager.ts, line 146

void

# trace(args) → {void}

Parameters:
Name Type Description
args Array.<any>

View Source src/log-manager.ts, line 152

void

# warn(args) → {void}

Parameters:
Name Type Description
args Array.<any>

View Source src/log-manager.ts, line 170

void