File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
src/Stackify/Log/Standalone Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ Standalone Stackify PHP [PSR-3](https://github.com/php-fig/fig-standards/blob/ma
1717
1818Install the latest version with ` composer require stackify/logger `
1919
20+ ### Requirements
21+ * Stackify PHP Logger ^2.0 works with PHP 7.1 or above.
22+ * Stackify PHP Logger ^1.0 works with PHP 5.3 or above.
23+
2024### Installation with Linux Agent
2125
2226This is the suggested installation option, offering the best
Original file line number Diff line number Diff line change 66 "type" : " library" ,
77 "license" : " Apache-2.0" ,
88 "require" : {
9- "php" : " >=5.3 .0" ,
10- "psr/log" : " ^1.0 | ^2.0" ,
9+ "php" : " >= 7.1 .0" ,
10+ "psr/log" : " ^1.0 | ^2.0 | ^3.0 " ,
1111 "guzzlehttp/psr7" : " ^1.9.1 || ^2.4.5" ,
1212 "php-http/socket-client" : " ^1.4 | ^2.0" ,
1313 "php-http/message" : " ^1.7" ,
Original file line number Diff line number Diff line change 11<?php
2+ // Copyright (c) 2024 BMC Software, Inc.
3+ // Copyright (c) 2021-2024 Netreo
4+ // Copyright (c) 2019 Stackify
25
36namespace Stackify \Log \Standalone ;
47
@@ -35,7 +38,7 @@ public function __destruct()
3538 $ this ->transport ->finish ();
3639 }
3740
38- public function log ($ level , $ message , array $ context = array ())
41+ public function log ($ level , $ message , array $ context = array ()): void
3942 {
4043 $ logEvent = array (
4144 'message ' => (string ) $ message ,
You can’t perform that action at this time.
0 commit comments