Exclude Log Levels
This commit is contained in:
@@ -8,4 +8,8 @@ return [
|
||||
'timeout_ms' => env('LOGHANDLER_TIMEOUT_MS', 3000),
|
||||
'retry_times' => env('LOGHANDLER_RETRY_TIMES', 0),
|
||||
'include_trace' => env('LOGHANDLER_INCLUDE_TRACE', false),
|
||||
'excluded_levels' => array_values(array_filter(array_map(
|
||||
static fn (string $level): string => strtolower($level),
|
||||
array_map('trim', explode(',', (string) env('LOGHANDLER_EXCLUDE_LEVELS', 'debug,info')))
|
||||
))),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user