Skip to main content

PyLogcat

PyLogcat is an application log system similar to Android Logcat for Python.

PyLogcat currently supports the following log levels.

  • Error : Critical messages which can cause application malfunction
  • Warning : Priority messages which indicate the potential problem in application
  • Information : Proirity messages which help users tracing application execution
  • Verbose : Debug messages which help developers debugging application under development

How To

Install package

pip install pylogcat

Import modules

from pylogcat import Log, Level

Log module privodes main functions for application log.

Level enumerates supported log levels as v, i, w, and e for verbose, informatin, warning, and error messages.

Setup log level

Log level is set as verbose which means all messages will be shown. Users can set log level as error, warning, information, or verbose as required. For example, users can set log level as information by adding the following line of code

Log.level = Level.i

Create log message

Verbose log message

Log messages will be shown only if log level is set as v.

Log.v(tag, message)

Information log message

Log messages will be shown only if log level is set as v or i.

Log.i(tag, message)

Warning log message

Log messages will be shown only if log level is set as v, i, or w.

Log.w(tag, message)

Error log message

Log messages will be shown no matter what log level is set.

Log.e(tag, message)

Limitations

PyLogcat can only print log messages on console now.

Metadata

Release files for pylogcat 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylogcat 0.0.3
File Size Uploaded
pylogcat-0.0.3.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pylogcat 0.0.3
File Interpreter ABI Platform
pylogcat-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / pylogcat-0.0.3.tar.gz

Download URL pylogcat-0.0.3.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
10ace16901e295bddb3ac93d124fe7bbed35dabcb0104fe47ca5be1bafae4ca9
BLAKE2b-256 checksum
How to use checksums
b9f98db7022e421a81475d64836556ce31bfc72a14eb47116963c03fe644c523
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / pylogcat-0.0.3-py3-none-any.whl

Download URL pylogcat-0.0.3-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f4eae327215ca1eadce6081eaa60ef14e8390dc42b18b4182be4c77493701803
BLAKE2b-256 checksum
How to use checksums
a6ba94ff1c2f72e16122dc0befcab5012400813a58aaf0666b7dacc622533568
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page