/** * Setting a log level causes all logs of that level and higher to be output. The ones below it are ignored / dropped. * * The log levels in order from lowest to highest: * - Trace * - Debug * - Log * - Info * - Warn * - Error * - Crit * - Fatal * - SuperInfo */ export declare enum LogLevel { /** Trace level logs the go beyond just normal debug messages. A silly log level. */ Trace = "trace", /** Debug messages used during development. */ Debug = "debug", /** Informational messages */ Info = "info", /** Something bad might have happened and it should be invesigated, but we can continue. */ Warn = "warn", /** Something bad happened, but we can continue or recover. */ Error = "error", /** Something critical happend that likely had unintended or fatal consequences */ Crit = "crit", /** Something happened and we must immediately stop */ Fatal = "fatal", /** Really important information that is ALWAYS logged */ SuperInfo = "superInfo" } /** Converts a string to a LogLevel. Throws 'INVALID_LOG_LEVEL' if there is no match */ export declare function stringToLogLevel(level: string): LogLevel;