Added log name to formatter
1 files changed, 2 insertions(+), 2 deletions(-) M simple_log/log_utilities.py
M simple_log/log_utilities.py +2 -2
@@ 5,13 5,13 @@ Written in and tested against Python 3 o Licensed under the MIT license - https://opensource.org/licenses/MIT """ -__version__ = (0, 0, 2) +__version__ = (0, 0, 3) __date__ = (2016, 11, 11) __author__ = "Andrew J Todd esq. <andy47@halfcooked.com>" import logging -MESSAGE_FORMAT = '%(asctime)s %(levelname)s:: %(message)s' +MESSAGE_FORMAT = '%(asctime)s %(name)s %(levelname)s:: %(message)s' DATE_FORMAT = '%Y.%m.%d %T' logs = {}