Closed arall closed 1 year ago
I'm building a CMD tool and it seems I cannot hide all the console output logs from Madeline.
I've tried with:
$me = $this->client->getSelf(); $this->client->logger($me, 0);
as well as:
use danog\MadelineProto\Logger; use danog\MadelineProto\Settings\Logger as LoggerSettings; $settings = (new LoggerSettings) ->setLevel(0); $MadelineProto->updateSettings($settings);
But doesn't seem to work.
I just saw that is a duplicated of https://github.com/danog/MadelineProto/issues/621.
You can log to file: https://docs.madelineproto.xyz/docs/LOGGING.html
That doesn't seem to work, see my message.
I'm building a CMD tool and it seems I cannot hide all the console output logs from Madeline.
I've tried with:
as well as:
But doesn't seem to work.