Skip to main content

Lightweight module for work with tables in Python.

Project description

logbook

Built-in Python logging module is a powerful tool to provide your programs with high quality logs. This project is conception continue and alternative for native python logging.

Logbook is not a rework and even not based on python logging objects but it is a rethink totally written from zero (honestly with use similar names and tricks for easier migration and use). We chose this path when found out that python logging is not enough functional and not enough flexible when we speak about integration with other our products.

With logbook you can:

  • Generate and customize log file.
  • Use existing file instead of creating new.
  • Write messages into console instead of file.
  • Generate customizable header with basic information about application, system or log.
  • Log information, success and debug messages.
  • Log errors with different levels (error, warning, critical).
  • Abort program when high level error occurs.
  • Or log messages in any desired record type.
  • Separate different log blocks with border.
  • Customize and design records of any type.
  • Configure the default or add new record types, messages, patterns and forms.
  • Manage log parameters during or after initialization.
  • Reset log to default parameters.
  • Close or reopen current log.
  • Limit log by size or day.

Getting Started

Requirements

Operation systems: Windows, Linux, Mac OS.

Python version: 3.7.1.

Installation

To install just download the latest release of logbook and copy src/logbook folder to your/python/folder/Lib/site-packages/.

How to Use

To start just declare log class instance:

import logbook

log = logbook.Log('test')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pypyrus-logbook, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size pypyrus_logbook-0.0.2-py3-none-any.whl (14.3 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page