diff --git a/src/Debug/Logger.php b/src/Debug/Logger.php index 6df3c7f..9bcea8c 100644 --- a/src/Debug/Logger.php +++ b/src/Debug/Logger.php @@ -68,7 +68,7 @@ public function __construct(bool $debug = BLITZ_DEBUG) { $this->config = (object) config('log'); - $this->monolog = new MonologLogger($this->config->name ?? 'application'); + $this->monolog = new MonologLogger(str_replace(' ', '-', $this->config->name ?? 'application')); foreach (($this->config->handlers ?? []) as $handler => $options) { $this->pushHandler($handler, (object) $options);