File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Simple logging system suitable with PsrLog.
77* route:
88 * CachedFileRoute - route for file logging with cache using
99 * ConsoleRoute - route for output log info console (for cli mode)
10+ * ConsoleRouteWithPid - route for output log info console with process id info (for cli mode)
1011 * DatabaseRoute - route for database logging
1112 * FileRoute - ex SimpleLogger, route for file logging
1213 * FileRouteWithPid - route for file logging with print of process id into log message
@@ -55,6 +56,10 @@ $logger->routeList->attach(new smalex86\logger\route\ConsoleRoute([
5556 'isEnabled' => true,
5657 'maxLevel' => 7
5758]));
59+ $logger->routeList->attach(new smalex86\logger\route\ConsoleRouteWithPid([
60+ 'isEnabled' => true,
61+ 'maxLevel' => 7
62+ ]));
5863$logger->routeList->attach(new smalex86\logger\route\DatabaseRoute([
5964 'isEnabled' => true,
6065 'maxLevel' => 6,
You can’t perform that action at this time.
0 commit comments