Usage

Installation

To use pcs_log, first install it using pip:

(.venv) $ pip install pcs_log

Use in your program

This module handles the most often used logging options:
  • log to console

  • log to syslog

  • log to file with autorotation

  • additional a standalone logging server accessible via telnet

  • multiprocessing logs

  • mutithreading logs

  • enhanced formatting options

normally imported as

import logging
from pcs_alog.Logp import LogP