Skip to content
Snippets Groups Projects
Commit 1e3b9030 authored by a.croix's avatar a.croix
Browse files

Correction in logger method return type + update env.docker file

parent f6025c3b
No related branches found
No related tags found
1 merge request!2New Log system
Pipeline #6180 passed
......@@ -111,9 +111,8 @@ class Wowa extends Model
}
//Create a Logger instance. The log will be stored in a log file. File path is given by getLogPathOnDisk method.
public function logger() : Logger
public function logger() : LogTraining
{
$logger = new LogTraining("Wowa");
return $logger;
return new LogTraining();
}
}
......@@ -4,7 +4,7 @@ APP_KEY=base64:42cUpwYMEYjS3fifEDm2RN2kjmNtnPHm1tZPMblKGIw=
APP_DEBUG=false
APP_URL=http://localhost:8000
LOG_CHANNEL=stack
LOG_CHANNEL=custom
DB_CONNECTION=sqlite
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment