Componette

Componette

orisai

orisai / monolog-logtail

Monolog handler for Logtail

download-cloud-line composer require orisai/monolog-logtail

Orisai
Monolog Logtail

Monolog handler for Logtail

📄 Check out our documentation.

💸 If you like Orisai, please make a donation. Thank you!

use Monolog\Logger;
use Orisai\MonologLogtail\LogtailClient;
use Orisai\MonologLogtail\LogtailHandler;

$logger = new Logger();
$token = '<YOUR_LOGTAIL_TOKEN>';
$logger->pushHandler(
	new LogtailHandler(
		new LogtailClient($token, /* ... */)
	),
);

$logger->info('Message logged');

No release at this moment. Try to create first one.

bar-chart-fill

Statistics

download-cloud-fill
16
star-fill
1
bug-fill
0
flashlight-fill
18d
price-tag-2-line

Badges

guide-fill

Dependencies

php (>=7.4.0 <8.3.0)
monolog/monolog (^2.3.0|^3.0.0)
Componette Componette felix@nette.org