mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-11-07 17:53:47 +00:00
Make logger fully configurable (#1087)
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
import logging
|
||||
from .client.telegramclient import TelegramClient
|
||||
from .network import connection
|
||||
from .tl import types, functions, custom
|
||||
from . import version, events, utils, errors
|
||||
|
||||
|
||||
__version__ = version.__version__
|
||||
logging.getLogger(__name__).addHandler(logging.NullHandler())
|
||||
|
||||
__all__ = ['TelegramClient', 'types', 'functions', 'custom',
|
||||
'events', 'utils', 'errors']
|
||||
|
||||
Reference in New Issue
Block a user