2020namespace Surfnet \SamlBundle \Monolog ;
2121
2222use Psr \Log \LoggerInterface ;
23+ use Stringable ;
2324
2425/**
2526 * Decorates a PSR logger and adds information pertaining to a SAML request procedure to each message's context.
@@ -45,47 +46,47 @@ public function forAuthentication(string $requestId): self
4546 return $ logger ;
4647 }
4748
48- public function emergency (string |\ Stringable $ message , array $ context = []): void
49+ public function emergency (string |Stringable $ message , array $ context = []): void
4950 {
5051 $ this ->logger ->emergency ($ message , $ this ->modifyContext ($ context ));
5152 }
5253
53- public function alert (string |\ Stringable $ message , array $ context = []): void
54+ public function alert (string |Stringable $ message , array $ context = []): void
5455 {
5556 $ this ->logger ->alert ($ message , $ this ->modifyContext ($ context ));
5657 }
5758
58- public function critical (string |\ Stringable $ message , array $ context = []): void
59+ public function critical (string |Stringable $ message , array $ context = []): void
5960 {
6061 $ this ->logger ->critical ($ message , $ this ->modifyContext ($ context ));
6162 }
6263
63- public function error (string |\ Stringable $ message , array $ context = []): void
64+ public function error (string |Stringable $ message , array $ context = []): void
6465 {
6566 $ this ->logger ->error ($ message , $ this ->modifyContext ($ context ));
6667 }
6768
68- public function warning (string |\ Stringable $ message , array $ context = []): void
69+ public function warning (string |Stringable $ message , array $ context = []): void
6970 {
7071 $ this ->logger ->warning ($ message , $ this ->modifyContext ($ context ));
7172 }
7273
73- public function notice (string |\ Stringable $ message , array $ context = []): void
74+ public function notice (string |Stringable $ message , array $ context = []): void
7475 {
7576 $ this ->logger ->notice ($ message , $ this ->modifyContext ($ context ));
7677 }
7778
78- public function info (string |\ Stringable $ message , array $ context = []): void
79+ public function info (string |Stringable $ message , array $ context = []): void
7980 {
8081 $ this ->logger ->info ($ message , $ this ->modifyContext ($ context ));
8182 }
8283
83- public function debug (string |\ Stringable $ message , array $ context = []): void
84+ public function debug (string |Stringable $ message , array $ context = []): void
8485 {
8586 $ this ->logger ->debug ($ message , $ this ->modifyContext ($ context ));
8687 }
8788
88- public function log ($ level , string |\ Stringable $ message , array $ context = []): void
89+ public function log ($ level , string |Stringable $ message , array $ context = []): void
8990 {
9091 $ this ->logger ->log ($ level , $ message , $ this ->modifyContext ($ context ));
9192 }
0 commit comments