Skip to content

Commit

Permalink
Disable FileTarget by default, add missing typehint
Browse files Browse the repository at this point in the history
  • Loading branch information
rustamwin committed Jan 12, 2021
1 parent 4143b4b commit d502364
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/params.php
Expand Up @@ -18,7 +18,7 @@
FileTarget::class => [
'include' => [],
'exclude' => [],
'enabled' => true,
'enabled' => false,
'filename' => '@runtime/profiling/{date}-{time}.txt',
'directoryMode' => 0775,
],
Expand Down
2 changes: 1 addition & 1 deletion src/Message.php
Expand Up @@ -47,7 +47,7 @@ final class Message
* @see LoggerTrait::log()
* @see LogLevel
*/
public function __construct($level, string $message, array $context = [])
public function __construct(string $level, string $message, array $context = [])
{
$this->level = $level;
$this->message = $message;
Expand Down

0 comments on commit d502364

Please sign in to comment.