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.2.tar.gz (3.2 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.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: logaid-1.1.2.tar.gz
  • Upload date:
  • Size: 3.2 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.2.tar.gz
Algorithm Hash digest
SHA256 9c4e4111af7b7310a965dc315da55e1cb7238e27f0640b86814b1dca28a62a84
MD5 23db6e24c1fdd8b584d021c1d3d4c9e3
BLAKE2b-256 af8fab373ebfdfb0f4df800dbe54e03c53f2b557eebad2b133efe863941a878a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: logaid-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7a391747976d842b3c7084d8bd7b9df7d4e6d5473f2320b7db77a30333d43885
MD5 2ff0bd576f8c9179c39bfeaf66f1d234
BLAKE2b-256 933c16fe52ae81b5788b2ae06eaf4450eefdca2fdbdefacdfa1608e3e438ff82

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