Skip to content

Commit

Permalink
Merge pull request #23 from petrknap/chores
Browse files Browse the repository at this point in the history
Deprecated `Logger`
  • Loading branch information
petrknap authored May 28, 2024
2 parents 4c9dc31 + 40ef855 commit a69125c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,22 @@

/**
* @internal
* @deprecated will be removed
*/
trait Logger
{
private static ?LoggerInterface $logger = null;

/**
* @deprecated will be removed
*/
public static function setLogger(LoggerInterface $logger): void
{
self::$logger = $logger;
}

/**
* @todo add file and line into context
* @deprecated will be removed
*/
protected static function logNotice(string $message): void
{
Expand Down

0 comments on commit a69125c

Please sign in to comment.