Ménage dans cranslib, 1er passage
This commit is contained in:
parent
b0ae7b5589
commit
0ec65b2036
13 changed files with 0 additions and 1 deletions
12
archive/cranslib/scripts/helloworld.py
Normal file
12
archive/cranslib/scripts/helloworld.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
|
||||
import logging
|
||||
|
||||
import sys
|
||||
sys.path.append('/usr/scripts/')
|
||||
from cranslib.utils.logs import getFileLogger
|
||||
LOGGER = getFileLogger("helloworld")
|
||||
LOGGER.setLevel(logging.INFO)
|
||||
LOGGER.addHandler(logging.StreamHandler())
|
||||
|
||||
if __name__ == "__main__":
|
||||
LOGGER.info(u"Hello World")
|
Loading…
Add table
Add a link
Reference in a new issue