Skip to content

Switching logging to loguru #11

@bastigw

Description

@bastigw

Hi Jia,

I was thinking of changing the logging system to use loguru. Loguru makes it very convenient to get nice logs and change log levels / output / format etc.

It should be fairly easy to implement, requiring only the following change to each file:

### Remove
from ..libs.logger import get_logger
logger = get_logger(__name__)
### Add
from loguru import logger

I am happy to create a pull request for this.

Best
Basti

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions