Skip to content

Replace root logger. #11

Description

@c-bata

This project is interesting to me.

I think python's library should not use root logger like:

import logging
 logging.warn('this is a warning')

refs: http://pieces.openpolitics.com/2012/04/python-logging-best-practices/

Would you replace root logger like:

from logging import getLogger

logger = getLogger(__name__)
logger.warn('this is a warning')

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions