Skip to main content

An Python logger

Project description


A convenient encapsulation of Python logging


pip install rlogger


from rlogger import RLogger
# Set log file path
RLogger.init('file.log', enable_screen=True, log_level='INFO', max_bytes=1e8, backup_count=1)
RLogger.log('your message', RLogger.INFO)
RLogger.log('your message', RLogger.DEBUG)
RLogger.log('your message', RLogger.WARNING)
RLogger.log('your message', RLogger.ERROR)
# Close log when you not need
RLogger.log('your message', RLogger.ERROR) # Will not print

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 rlogger, version 3.0
Filename, size File type Python version Upload date Hashes
Filename, size rlogger-3.0-py3-none-any.whl (3.1 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