console-logging icon indicating copy to clipboard operation
console-logging copied to clipboard

Improve import syntax

Open ghost opened this issue 6 years ago • 0 comments

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')

ghost avatar May 18 '19 18:05 ghost