Skip to main content

Simple python logger

Project description

ZOOM LOG

Simple python logger

Quick start:

from zoomlog import Logger, DEBUG, INFO

logger = Logger("test.log", name="test", level=DEBUG)
logger.debug("My logger is work!")
name = "Sergey"
logger.addLevel("NEW USER", INFO)
logger.log("NEW USER", "Created new user - %s" % name)
00:00:00 01.01.22  DEBUG:test >>  My logger is work!
00:00:01 01.01.22  NEW USER:test >>  Created new user - Sergey

test.log

00:00:00 01.01.22


00:00:00 01.01.22  DEBUG:test >>  My logger is work!
00:00:01 01.01.22  NEW USER:test >>  Created new user - Sergey

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

zoomlog-ZOOM-DEVELOPER-1.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

zoomlog_ZOOM_DEVELOPER-1.0-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

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