We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Примерный сценарий использования:
$logger = new \Onphp\Log\LoggerInstance( 'testName', [new \Onphp\Log\Target\StreamTarget('test.log')], [new \Onphp\Log\Informer\VardumpInformer()] ); $a = 'test string'; $b = 345; $c = false; $logger->info('some text', [ 'vardump' => [$a, $b, $c], ]);
В логе получить следующий вид записи:
$ cat test.log 2015-12-08 13:34:16 INFO some text Vardump: $a = 'test string' $b = 345 $c = false
The text was updated successfully, but these errors were encountered:
nezhelskoy
No branches or pull requests
Примерный сценарий использования:
В логе получить следующий вид записи:
The text was updated successfully, but these errors were encountered: