Skip to content

Commit cdc0aec

Browse files
committed
cleanup
1 parent ab69a47 commit cdc0aec

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/BuffLog/BuffLog.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,6 @@ class BuffLog {
88

99
protected static $instance;
1010
private static $logger = null;
11-
private static $currentVerbosity = Logger::WARNING;
12-
private static $verbosityList = [
13-
"DEBUG" => Logger::DEBUG,
14-
"INFO" => Logger::INFO,
15-
"WARNING" => Logger::WARNING,
16-
"ERROR" => Logger::ERROR,
17-
"CRITICAL" => Logger::CRITICAL
18-
];
1911

2012
private static $logOutputMethods = ['debug', 'info', 'notice', 'warning', 'error', 'critical'];
2113
private static $extraAllowedMethods = ['getName', 'pushHandler', 'setHandlers', 'getHandlers', 'pushProcessor', 'getProcessors'];
@@ -102,12 +94,4 @@ private static function enrichLog()
10294
});
10395
}
10496

105-
private static function setVerbosity()
106-
{
107-
$envVerbosity = getenv("LOG_VERBOSITY");
108-
if ($envVerbosity !== FALSE && array_key_exists($envVerbosity, self::$verbosityList)) {
109-
self::$currentVerbosity = self::$verbosityList[$envVerbosity];
110-
}
111-
}
112-
11397
}

0 commit comments

Comments
 (0)