Start rewrite
This commit is contained in:
parent
04f4c3a8b6
commit
6b65bef5e0
5 changed files with 354 additions and 776 deletions
|
|
@ -1,30 +1,21 @@
|
|||
# ---------- BEGIN DEV SECTION ----------
|
||||
import asyncio
|
||||
#asyncio.get_event_loop().set_debug(True) # uncomment for asycio debugging mode
|
||||
|
||||
import logging
|
||||
|
||||
# general (asyncio) logging level
|
||||
#logging.basicConfig(level=logging.DEBUG)
|
||||
#logging.basicConfig(level=logging.INFO)
|
||||
logging.basicConfig(level=logging.WARNING)
|
||||
# asyncio debugging
|
||||
asyncio.get_event_loop().set_debug(True) # uncomment for asycio debugging mode
|
||||
logging.getLogger("asyncio").setLevel(logging.DEBUG)
|
||||
|
||||
# yaboli logger level
|
||||
logger = logging.getLogger(__name__)
|
||||
#logger.setLevel(logging.DEBUG)
|
||||
logger.setLevel(logging.INFO)
|
||||
logging.getLogger(__name__).setLevel(logging.DEBUG)
|
||||
# ----------- END DEV SECTION -----------
|
||||
|
||||
from .bot import *
|
||||
from .cookiejar import *
|
||||
from .connection import *
|
||||
from .controller import *
|
||||
from .database import *
|
||||
from .room import *
|
||||
from .utils import *
|
||||
from .exceptions import *
|
||||
|
||||
__all__ = (
|
||||
bot.__all__ +
|
||||
connection.__all__ +
|
||||
controller.__all__ +
|
||||
database.__all__ +
|
||||
room.__all__ +
|
||||
utils.__all__
|
||||
cookiejar.__all__ +
|
||||
exceptions.__all__
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue