1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-10 07:06:40 +02:00

Check if monolog runs in web context (#1024)

* Check if monolog runs in web context
This commit is contained in:
Pascal
2018-06-11 17:36:34 +02:00
committed by Jordi Boggiano
parent ff5ae5cead
commit 5bb1c5fb4f
5 changed files with 41 additions and 1 deletions

View File

@@ -153,4 +153,9 @@ class TestChromePHPHandler extends ChromePHPHandler
{
return $this->headers;
}
protected function isWebRequest(): bool
{
return true;
}
}