Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cut0x/python-logger-simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Logger Module

A simple Python module with configurable options.

📥 Installation

pip install python-logger-simple

[x] Head to logger-simple.com to retrieve the required information, and to view the logs.

✏️ Usage

# Python
from python_logger_simple import Logger

logger = Logger(app_id="your_app_id", api_key="your_api_key")
logger.log_success("Test from Python")

📣 Options

Initialize the Logger with the following options:

  • app_id : Your application ID (required).
  • api_key: Your application key (required).

📜 Methods

  • log_error('An error has occurred.') - Logs an error message.
  • log_success('Succes message.') - Logs an succes message.
  • log_info('Important information.') - Logs an info message.

About

A simple Python logger module with configurable options.

Topics

Resources

Stars

Watchers

Forks

Languages