seq
1.1.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Namespace List
Namespace Members
All
Classes
Namespaces
Files
Functions
Variables
Groups
Pages
seqlib
log
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
)
Generated by
1.8.5