File: basic.py

package info (click to toggle)
python-daiquiri 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 204 kB
  • sloc: python: 593; makefile: 5
file content (8 lines) | stat: -rw-r--r-- 172 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
import logging

import daiquiri

daiquiri.setup(level=logging.INFO)

logger = daiquiri.getLogger(__name__)
logger.info("It works and log to stderr by default with color!")