Skip to content

Commit

Permalink
fix "Class 'Psr\log\LogLevel' not found" error
Browse files Browse the repository at this point in the history
  • Loading branch information
klimov-paul committed Jul 20, 2023
1 parent 602b61d commit b1a45b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Yii1 PSR Log extension
======================

1.0.2 Under Development
-----------------------

- Bug: Fixed "Class 'Psr\log\LogLevel' not found" error (klimov-paul)


1.0.1, July 20, 2023
--------------------

Expand Down
2 changes: 1 addition & 1 deletion src/LogLevelConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace yii1tech\psr\log;

use CLogger;
use Psr\log\LogLevel;
use Psr\Log\LogLevel;

/**
* LogLevelConverter allows converting log level specification values from Yii to PSR and vice versa.
Expand Down

0 comments on commit b1a45b8

Please sign in to comment.