Logger
We created a simple Logger to help us with logging in the sdk. If you want you can use it and it works either as a static class or instantiate it. If you create an instance you can set the logging level and the name will be shown in the log.
Relevant types
export enum LoggingLevel {
DEBUG = "debug",
INFO = "info",
WARN = "warn",
ERROR = "error",
}Static methods
// Sends a message to standard output with tag debug
static debug(message: any, name = ""): void;
// Sends a message to standard output with tag info
static info(message: any, name = ""): void;
// Sends a message to standard output with tag log
static log(message: any, name = ""): void;
// Sends a message to standard error output with tag warn
static warn(message: any, name = ""): void;
// Sends a message to standard error output with tag error
static error(message: any, name = ""): void;Constructor and class methods
Last updated