https://github.com/billloic/advanced-logger

A customize-able logger

https://github.com/billloic/advanced-logger

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (3.2%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

A customize-able logger

Basic Info
  • Host: GitHub
  • Owner: BillLoic
  • Language: Python
  • Default Branch: main
  • Size: 5.86 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 2 years ago · Last pushed almost 2 years ago
Metadata Files
Readme

README.md

Advanced logger

it provides colorful printing and it is be able to customize

Install

Run command: pip install advanced-logger

Try it

```python import logger

logger.debug("Hello") ```

Do something andvanced

  1. Colorful printing

Write this line before any action

```python import logger as log

logger = log.getLogger("test.test", colored=True)

logger.debug("Hello") ```

  1. Write your own handler

If you want to pipe message to standard error output, you do:

```python from logger.handler import FileObjectHandler import logger as log import sys

class StdErrHandler(FileObjectHandler): def init(self): super().init(sys.stderr)

logger = log.getLogger("test", handler=StdErrHandler())

logger.debug("test") ```

Owner

  • Name: billloic
  • Login: BillLoic
  • Kind: user

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

pyproject.toml pypi
setup.py pypi