Skip to main content

Simple logger for info, error and debug

Project description

# MakeLog ![GitHub issues](https://img.shields.io/github/issues/darryllane/MakeLog.svg) ![PyPI - Downloads](https://img.shields.io/pypi/dd/MakeLog.svg)

Essentials — [![Python 3.4](https://img.shields.io/badge/python-3.4%20+-green.svg)](https://www.python.org/downloads/release/python-360/) ![GitHub](https://img.shields.io/github/license/darryllane/MakeLog.svg) — Simple logger for info, error and debug logs.

The logger can take an identifier, this allows for creating individual logs for threaded processes. You can pass the IDENTIFIER value (any string) in the initialsing call.

Please take a look at the test script for examples of all features.

Testing — [![Coverage Status](https://coveralls.io/repos/github/darryllane/MakeLog/badge.svg?branch=master)](https://coveralls.io/github/darryllane/MakeLog?branch=master) [![Build Status](https://travis-ci.org/darryllane/MakeLog.svg?branch=master)](https://travis-ci.org/darryllane/MakeLog)

Example

# import library from MakeLog import make_log as log

# initialse Class logger = log.initialise()

# write info log logger.info(‘info_test’)

# write error log logger.error(‘error_test’)

# write debug log logger.debug(‘debug_test’)

Features — Takes log directory input (not required)

Takes log filename inputs (not required)

Takes a logger identifier value (not required)

Project details


Download files

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

Source Distribution

MakeLog-1.1b0.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file MakeLog-1.1b0.tar.gz.

File metadata

  • Download URL: MakeLog-1.1b0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.10

File hashes

Hashes for MakeLog-1.1b0.tar.gz
Algorithm Hash digest
SHA256 ca0bd4bca4be96674a00c8788ec4aced7324cbdd1116ea222b3fd8ad209140e1
MD5 dbafa4877877fd5d54ad781e88bbfd95
BLAKE2b-256 bb72946ee6c829f29f3f02f4c4a4446fd1e5c6c478fcedcb8080aa6d180c2261

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page