Skip to main content

A log aid for you.

Project description

LogAid

A log aid for you.

Installation

pip install logaid

Usage

just print

from logaid import log

log.info('hello world')
log.error('hello world')
log.warning('hello world')
log.fatal('hello world',123,{},[],False)

open super print

from logaid import log
log.init(print_pro=True)

print("Hello World")

auto_save

from logaid import log
log.init(level='DEBUG',save=True)

log.info('hello world')

save as filename and not print

from logaid import log
log.init(level='DEBUG',filename='cs.log',show=False)

log.info('hello world')

define format

from logaid import log
log.init(level='INFO',format='%(asctime)s %(levelname)s %(pathname)s %(lineno)d: %(message)s')

log.info('hello world')

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

logaid-1.1.9.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

logaid-1.1.9-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file logaid-1.1.9.tar.gz.

File metadata

  • Download URL: logaid-1.1.9.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for logaid-1.1.9.tar.gz
Algorithm Hash digest
SHA256 ccb1b7476889066f79875a8ec0f008209f7315a7b8bbeabb192e36068f52673b
MD5 e3b5118088ccb8882d2c7f1f4f8467e4
BLAKE2b-256 f3f4a83ef3711cabf4e6f516a1e359f44fbc461b740f6e21de9bfdd7f28f6541

See more details on using hashes here.

File details

Details for the file logaid-1.1.9-py3-none-any.whl.

File metadata

  • Download URL: logaid-1.1.9-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for logaid-1.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7a444452c828aca589ffd71dfeebbfaa8ee6ae2fec2c86f6f8b17935c6d8dc0c
MD5 b29af65815e39c2e45993e2e14d2e21b
BLAKE2b-256 80d5a8178ffad6024c0ffbd92c2dfea5a49fd1f7163c8514fe15898e4688e5c3

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