diff options
author | Tomás Touceda <chiiph@leap.se> | 2014-02-04 11:22:14 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2014-02-04 11:22:14 -0300 |
commit | 4b99d4560260498b7ce783ffabba65adfecf7602 (patch) | |
tree | f12ce9c031fd701931d0ec7e18a0c6c632a05147 /src/leap/bitmask/util/__init__.py | |
parent | aae34b8e39de97bd5631f61b909842471526a760 (diff) | |
parent | 2ea1ffae0423355e626145dcd30d52fdc1b2fee6 (diff) |
Merge remote-tracking branch 'refs/remotes/ivan/feature/update-log-format' into develop
Diffstat (limited to 'src/leap/bitmask/util/__init__.py')
-rw-r--r-- | src/leap/bitmask/util/__init__.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/bitmask/util/__init__.py b/src/leap/bitmask/util/__init__.py index c35be99e..2b2cd874 100644 --- a/src/leap/bitmask/util/__init__.py +++ b/src/leap/bitmask/util/__init__.py @@ -28,6 +28,11 @@ from leap.common.config import get_path_prefix as common_get_path_prefix # We'll give your money back if it does not alleviate the eye strain, at least. +# levelname length == 8, since 'CRITICAL' is the longest +LOG_FORMAT = ('%(asctime)s - %(levelname)-8s - ' + 'L#%(lineno)-4s : %(name)s:%(funcName)s() - %(message)s') + + def first(things): """ Return the head of a collection. |