Skip to main content

A simple logger used in python program.

Project description

YFLOG: A Simple Wrapped Logger Used in Python

A Simple Wrapped Logger Used in Python

Installation

# Install via pip
pip install yflog

Usage

Here is a simple example for the logger.

from yflog import Logger
# replace the 'X' with your token
logger = Logger(filename='my.log',file_level='info')
logger.debug('test')
logger.info('test')
logger.warning('test')
logger.error('test')

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

yflog-1.1.0.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file yflog-1.1.0.tar.gz.

File metadata

  • Download URL: yflog-1.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.7

File hashes

Hashes for yflog-1.1.0.tar.gz
Algorithm Hash digest
SHA256 ec2a797f806af46c1174bd9664a6c3f103c12206790c9342f3d2110d72aa91de
MD5 641fa2897eb093e376681a6a5a8a5e25
BLAKE2b-256 bb2bf50e98ef55d0ae6f38f04b031dd5301a69a2409121d05726c18e5f469481

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