Socket
Socket
Sign inDemoInstall

colorlog-python

Package Overview
Dependencies
4
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    colorlog-python

A lightweight logger that makes logging to the terminal easy and pretty in python.


Maintainers
1

Readme

ColorLog

GitHub

ColorLog is a lightweight logger that makes logging to the terminal easy and pretty for python.

This is self-made & self-used module for coloring logging infomation. Welcome any contributions if you would like!

TODO

  • Auto-inline
  • Add requirements
  • Upload to PyPI

Installation

Font

The recommended font is MesloLGS NF.

Install from PyPI

TODO

pip install colorlog-python

Usage

To use colorlog, just import the pre-instantiated logger into your code.

from colorlog import logger

logger.debug("prompt:", your_args)
logger.info("prompt:", your_args)
logger.warning("prompt:", your_args)
logger.success("prompt:", your_args)
logger.error("prompt:", your_args)

For other detailed APIs please check the code!

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc