Skip to content
Snippets Groups Projects
Commit 34dd729a authored by jkerdreu's avatar jkerdreu
Browse files

new logger API

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@2175 b32b6428-25c9-4566-ad07-03861ab6144f
parent c816e550
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ def set_console_title(value):
print("\x1B]0;xAAL => %s\x07" % value )
def setup_console_logger(level=config.log_level):
coloredlogs.install(level=level)
coloredlogs.install(level=level)
def setup_file_logger(name,level=config.log_level,filename = None):
filename = filename or os.path.join(config.log_path,'%s.log' % name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment