Skip to content

Commit 455a738

Browse files
committed
Fix LoggerProvider behavour
1 parent aa6a567 commit 455a738

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Business/Provider/LoggerProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@ protected function lookupLoggerAdapters(): void
9999
$installed = true;
100100
}
101101

102-
if (!$installed) {
102+
if ($installed) {
103103
return;
104104
}
105105

106106
throw new LoggerAdapterNotRegisteredException(<<<EOF
107107
There are no logger adapters available.
108108
You should install one of the logger adapter plugin.
109-
We recommend using the package "package" `micro/plugin-logger-monolog`.
109+
We recommend using the package `micro/plugin-logger-monolog`.
110110
EOF);
111111
}
112112
}

0 commit comments

Comments
 (0)