Prevent file logging in web environments.

This commit is contained in:
netkas 2025-01-10 04:24:45 -05:00
parent 0507fbb9d1
commit 9958bdd205
3 changed files with 16 additions and 3 deletions

View file

@ -24,7 +24,6 @@ class ConsoleLogging implements LogHandlerInterface
*/
public static function handle(Application $application, Event $event): void
{
// Check if the application is running in a CLI environment, if not, return
if(!Utilities::runningInCli())
{
return;