scripts/lib/scripts/helloworld.py
Antoine Durand-Gasselin c2535c1f04 [lib] ajout des fichiers non suivis
darcs-hash:20090609134320-bd074-f4df3e57ff2a6e60f07e25cda773524c8e20de3c.gz
2009-06-09 15:43:20 +02:00

11 lines
280 B
Python

import logging
from crans.utils.logs import getFileLogger
#LOGGER = logging.getLogger("crans.scripts.test")
LOGGER = getFileLogger("helloworld")
LOGGER.setLevel(logging.INFO)
LOGGER.addHandler(logging.StreamHandler())
if __name__ == "__main__":
LOGGER.info(u"Hello World")