v1.3.0 Updates
1.3.0 (2018-09-28)
Improvement
- Allowing configuration of
datefmt
, andstyle
for master levelformatters
in logme.ini.- This change does not break the previous version, you can still specify only the
fmt
- Does not apply to
logme init
orlogme add {config_name}
command for generate automatic - Default
style
will still be{
if none specified
- This change does not break the previous version, you can still specify only the
- example:
.. code-block:: ini
[my_config]
level = DEBUG
formatter =
fmt: {asctime} - {name} - {levelname} - {message}
datefmt: %Y/%m/%d
style: {
stream =
type: StreamHandler
active: True
level: DEBUG
file =
type: FileHandler
active: True
level: DEBUG
formatter: {name} :: {funcName} :: {levelname} :: {message}
filename: mylogpath/foo.log