Skip to main content

로깅을 위한 패키지

Project description

retrotv-log

Python3의 logging을 좀 더 쓰기 편하게 하기 위한 패키지 입니다.

설치

pip install retrotv-log

사용법

from log import Log

log = Log(__name__).get_logger
log.info("this is INFO level log")

인자

인자명 필수여부 기본값 설명
name O 없음 로깅 호출에 사용된 logger의 이름
level X logging.INFO 로깅 레벨
formatter X [%(levelname)s] [%(asctime)s] [%(module)s]: %(message)s 로깅 메시지 포맷
use_console X True 콘솔 출력 사용여부
use_file X True 파일 기록 사용여부
filename X None 파일 기록 시, 로그가 기록할 파일 명
timed_rotating_file_handler X None TimedRotatingFileHandler 객체. 해당 객체가 None이 아닐 경우, 파일 기록 시 해당 객체를 참고하여 로그 파일을 기록함

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

retrotv_log-0.0.6a0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

retrotv_log-0.0.6a0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file retrotv_log-0.0.6a0.tar.gz.

File metadata

  • Download URL: retrotv_log-0.0.6a0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for retrotv_log-0.0.6a0.tar.gz
Algorithm Hash digest
SHA256 53b32cdc9377d7df44d5d06cc890ce908a679d212be5df83001a0a0a7573b75f
MD5 ef6cb9c97627dfbaad6c3bfcb11ad071
BLAKE2b-256 4e8d3ee0b47cfc2875b505cfe363e9c6b8017d873a700e67f9b52c8f12ae1b4e

See more details on using hashes here.

File details

Details for the file retrotv_log-0.0.6a0-py3-none-any.whl.

File metadata

  • Download URL: retrotv_log-0.0.6a0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for retrotv_log-0.0.6a0-py3-none-any.whl
Algorithm Hash digest
SHA256 46acf11a027ada22aad1976e27b4cd9f1f4629040ccc4b09f370a31636b2c1e1
MD5 6b0c6c0b77a56cd46013df8e25e59f15
BLAKE2b-256 e9e70c28e2b82dcf97be43281180b7cd0f8549b201c96d44823d242ced98db02

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page