-
Is it possible to use |
Beta Was this translation helpful? Give feedback.
Answered by
Lukasss93
Nov 2, 2023
Replies: 1 comment 3 replies
-
Yes, just do this: You need to create the 'nutgram' => [
'driver' => 'monolog',
'level' => env('LOG_LEVEL', 'debug'),
'handler' => StreamHandler::class,
'formatter' => Nutgram\Laravel\Log\NutgramFormatter::class,
'with' => [
'stream' => 'php://stderr',
],
'processors' => [PsrLogMessageProcessor::class],
], Then add the TELEGRAM_LOG_CHANNEL=nutgram Output: |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
sr-44
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, just do this:
You need to create the
nutgram
channel inside theconfig/logging.php
file:Then add the
nutgram
channel to theTELEGRAM_LOG_CHANNEL
env var:Output: