Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A Python library for advanced logging with support for multiple outputs and Slack integration. Designed for QCML.

License

NotificationsYou must be signed in to change notification settings

albertnieto/qcml-logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QCML Logging is a Python library that provides advanced logging setup with support for multiple outputs (terminal, file) and Slack integration. It includes features like color-coded logs, JSON formatting, and contextual information.

Installation

You can install the library using pip:

pip install qcml-logging

Usage

Here’s an example of how to set up logging:

importqcml_loggingcontext_info= {'user_id':'12345','session_id':'abcde'}slack_credentials= ["your-slack-token","#your-channel"]qcml_logging.log_setup(level="DEBUG",output="both",logs_path="my_logs",use_json=False,keyword_filters=["error","critical"],use_color=True,asynchronous=True,add_context=True,context_info=context_info,slack_notify=True,slack_credentials=slack_credentials)logging.debug("This is a debug message.")

About

A Python library for advanced logging with support for multiple outputs and Slack integration. Designed for QCML.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp