proxy.common.logger module#

proxy.py#

⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on Network monitoring, controls & Application development, testing, debugging.

copyright
  1. 2013-present by Abhinav Singh and contributors.

license

BSD, see LICENSE for more details.

class proxy.common.logger.Logger[source]#

Bases: object

Common logging utilities and setup.

static setup(log_file: Optional[str] = None, log_level: str = 'INFO', log_format: str = '%(asctime)s - pid:%(process)d [%(levelname)-.1s] %(module)s.%(funcName)s:%(lineno)d - %(message)s') None[source]#
proxy.common.logger.single_char_to_level(char: str) Any[source]#