From 84d0070387ff533734d00c33726db698f8459864 Mon Sep 17 00:00:00 2001 From: jszuminski Date: Thu, 4 Jul 2024 17:06:27 +0200 Subject: [PATCH] Logger: removed toggleSTDOut method. --- lib/logger.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/lib/logger.js b/lib/logger.js index 1b0d17d8..572ed93a 100644 --- a/lib/logger.js +++ b/lib/logger.js @@ -256,22 +256,11 @@ export const listen = (fn) => { logging.listeners.push(fn); }; -/** - * Toggles the standard output (console) logging. - * - * @param {boolean} enabled - If true, enables console logging; if false, - * disables it. - */ -export const toggleSTDOut = (enabled) => { - logging.toConsole = enabled; -}; - export default { log, logWithStack, setLogLevel, enableFileLogging, initLogging, - listen, - toggleSTDOut + listen };