mirror of
https://github.com/DigiLive/mushroom-strategy.git
synced 2025-08-04 20:14:28 +02:00
Refactor default debug level to Fatal
With `Fatal` as a default, it will log all messages until redefined.
This commit is contained in:
@@ -106,7 +106,6 @@ class Registry {
|
||||
* @param {DashboardInfo} info Strategy information object.
|
||||
*/
|
||||
static async initialize(info: DashboardInfo): Promise<void> {
|
||||
setDebugLevel(lvlFatal);
|
||||
setupCustomLocalize(info.hass);
|
||||
|
||||
// Import the Hass States and strategy options.
|
||||
|
@@ -40,7 +40,7 @@ export const {
|
||||
*
|
||||
* @default DebugLevel.Off
|
||||
*/
|
||||
let currentLevel: DebugLevel = DebugLevel.Off;
|
||||
let currentLevel: DebugLevel = DebugLevel.Fatal;
|
||||
|
||||
/**
|
||||
* Extracts the name of the function or method that called the logger from a stack trace string.
|
||||
|
Reference in New Issue
Block a user