seq  1.1.0
 All Classes Namespaces Files Functions Variables Groups Pages
Functions | Variables
seqlib.log Namespace Reference

Functions

def logConfig
 Configs logging for seqlib module. More...
 

Variables

tuple LOGGING
 

Function Documentation

def seqlib.log.logConfig (   level = logging.ERROR)

Configs logging for seqlib module.

Variable Documentation

tuple seqlib.log.LOGGING
Initial value:
1 = dict(
2  version=1,
3  formatters={
4  "simple": {
5  "format": "%(filename)s.%(funcName)10s:%(lineno)03d - %(levelname)s - %(message)s"
6  },
7  "verbose": {"format": "%(asctime)s %(module)s %(message)s"},
8  },
9  handlers={
10  "console": {
11  "class": "logging.StreamHandler",
12  "level": "DEBUG",
13  "formatter": "simple",
14  "stream": "ext://sys.stdout",
15  },
16  },
17  loggers={"seqlib": {"level": "ERROR", "handlers": ["console"], "propagate": "no"}},
18  # root={"level": "INFO", "handlers": ["console"]},
19 )