Skip to content

Improve import syntax #2

Description

The current syntax is a little awkward:

from console_logging import console
q = console.Console()
q.error('abcde')

compare with other projects:

import colorlog
colorlog.error('abcde')
from logzero import logger
logger.error('abcde')
import coloredlogs, logging
coloredlogs.install()
logging.error('abcde')

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions