updated logging usage, to use the library directly and avoid imposing a core config by default, allowing users of the core library to configure logging as desired
This commit is contained in:
parent
37f747c212
commit
7aee2b2ba7
44 changed files with 552 additions and 527 deletions
|
@ -1,6 +1,6 @@
|
|||
import logging
|
||||
import time
|
||||
|
||||
from core import logger
|
||||
from core.misc.event import EventLoop
|
||||
|
||||
|
||||
|
@ -9,7 +9,7 @@ def main():
|
|||
|
||||
def msg(arg):
|
||||
delta = time.time() - loop.start
|
||||
logger.debug("%s arg: %s", delta, arg)
|
||||
logging.debug("%s arg: %s", delta, arg)
|
||||
|
||||
def repeat(interval, count):
|
||||
count -= 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue