Initial
This commit is contained in:
commit
f0b748804e
6 changed files with 212 additions and 0 deletions
7
location/__init__.py
Normal file
7
location/__init__.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
import logging
|
||||
|
||||
def get_logger():
|
||||
return logging.getLogger("location")
|
||||
|
||||
|
||||
# TODO need to cache?
|
10
location/__main__.py
Normal file
10
location/__main__.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
from location import get_logger
|
||||
|
||||
logger = get_logger()
|
||||
|
||||
from kython.logging import setup_logzero
|
||||
|
||||
setup_logzero(logger)
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue