UNPKG

@signiant/media-shuttle-sdk-base

Version:

The base parent sdk behind other media shuttle sdks (e.g. media-shuttle-sdk)

32 lines (31 loc) 1.15 kB
/** * The various log level to control how much logging is done by the SDK. */ var LogLevel; (function (LogLevel) { /** * Used when attempting to diagnose a specific problem. This is the log level used by the default logger. * * *Note*: Many browsers have [built in options](https://developer.chrome.com/docs/devtools/console/log/#level) to * control log visibility. Thus while debugging is enabled, it may be necessary to alter your browsers default * configuration settings. */ LogLevel[LogLevel["DEBUG"] = 4] = "DEBUG"; /** * Used for routine messages that happen during the course of ordinary operation. */ LogLevel[LogLevel["INFO"] = 3] = "INFO"; /** * Used for unexpected conditions where recovery may be possible. */ LogLevel[LogLevel["WARN"] = 2] = "WARN"; /** * Used for unexpected conditions where recovery is not possible. */ LogLevel[LogLevel["ERROR"] = 1] = "ERROR"; /** * Used to completely disable logging, not recommended. */ LogLevel[LogLevel["OFF"] = 0] = "OFF"; })(LogLevel || (LogLevel = {})); export default LogLevel;