alexbers / mtprotoproxy

Async MTProto proxy for Telegram
MIT License
1.59k stars 351 forks source link

Use logging module instead of 'print' method #237

Closed HosseyNJF closed 6 months ago

HosseyNJF commented 4 years ago

The title says it all. the logging module is greatly configurable, and you can set that config for logging from the config.py. It also has a reasonable default config.

HosseyNJF commented 4 years ago

@alexbers Would this be merged?

alexbers commented 4 years ago

I like the idea, but it will take some time to test.

HosseyNJF commented 3 years ago

@alexbers I'm using this in production for a while now and everything looks good.