File: __init__.py

package info (click to toggle)
python-colorlog 2.4.0-1%2Bdeb8u1
  • links: PTS
  • area: main
  • in suites: jessie
  • size: 112 kB
  • ctags: 37
  • sloc: python: 138; makefile: 5
file content (16 lines) | stat: -rw-r--r-- 501 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""A logging formatter for colored output"""

from __future__ import absolute_import

from colorlog.colorlog import (
    ColoredFormatter, escape_codes, default_log_colors)

from colorlog.logging import (
    basicConfig, root, getLogger, log,
    debug, info, warning, error, exception, critical)

__all__ = [
    'ColoredFormatter', 'default_log_colors', 'escape_codes', 'basicConfig',
    'root', 'getLogger', 'debug', 'info', 'warning', 'error', 'exception',
    'critical', 'log', 'exception'
]