diff options
author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2009-11-23 14:44:56 +0100 |
---|---|---|
committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2009-11-23 14:44:56 +0100 |
commit | b7e84e3fc5418641041f95a80f08fe053c004c27 (patch) | |
tree | a0e0865c87e8bd127df674b53b30f3e323c1b255 /logging_ext.py | |
parent | b80f0a3c1f04c4446ab3f7ec019a3888fa098fab (diff) | |
download | logilab-common-b7e84e3fc5418641041f95a80f08fe053c004c27.tar.gz |
include Dotan Barak spell fixes patch
Diffstat (limited to 'logging_ext.py')
-rw-r--r-- | logging_ext.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logging_ext.py b/logging_ext.py index 5a27d05..9b7b7d5 100644 --- a/logging_ext.py +++ b/logging_ext.py @@ -16,7 +16,7 @@ from logilab.common.textutils import colorize_ansi def set_log_methods(cls, logger): - """bind standart logger's methods as methods on the class""" + """bind standard logger's methods as methods on the class""" cls.__logger = logger for attr in ('debug', 'info', 'warning', 'error', 'critical', 'exception'): setattr(cls, attr, getattr(logger, attr)) @@ -33,7 +33,7 @@ class ColorFormatter(logging.Formatter): By default, colorize CRITICAL and ERROR in red, WARNING in orange, INFO in green and DEBUG in yellow. - self.colors is customizable via the 'color' constructor argument (dictionnary). + self.colors is customizable via the 'color' constructor argument (dictionary). self.colorfilters is a list of functions that get the LogRecord and return a color name or None. |