Skip to content

surda/logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logging


Licence Latest stable PHPStan

Installation

The recommended way to is via Composer:

composer require surda/logging

Guzzle Logger

$stack = \GuzzleHttp\HandlerStack::create();
$stack->push(
    \GuzzleHttp\Middleware::log(
        new \Surda\Logging\TracyGuzzleLogger(),
        new \GuzzleHttp\MessageFormatter('{request} - {response}')
    )
);

$client = new \GuzzleHttp\Client([
    'handler' => $stack,
    ...
]);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages