-
Notifications
You must be signed in to change notification settings - Fork 495
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc8e6fd
commit 8402338
Showing
3 changed files
with
112 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
|
||
namespace Binance; | ||
|
||
|
||
use Psr\Log\AbstractLogger; | ||
|
||
class EchoLogger extends AbstractLogger | ||
{ | ||
|
||
public function log($level, $message, array $context = array()) | ||
{ | ||
$format = "[%s][%s] - %s"; | ||
echo sprintf($format, date("Y-m-d H:i:s"), $level, $message); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.