Skip to main content

Nightwatch Logger is a Python package that offers a versatile logging utility for Python applications. It simplifies log management by providing features for both file and console output. You can use this package to improve your application’s logging capabilities with ease.

Features

  • Log messages to files and optionally to the console.

  • Supports various log levels: DEBUG, INFO, WARNING, ERROR, and CRITICAL.

  • Customize log file names and log levels according to your application’s needs.

  • Properly formats log entries with timestamps and log levels for clarity.

  • Handles structured logging with dynamic data, including dictionaries, lists, strings, integers, floats, booleans, and None.

  • Exception handling to gracefully manage errors during logging and message formatting.

Usage

  1. Import the package from nightwatch import Nightwatch

  2. Create an instance of the Nightwatch class nightwatch = Nightwatch(log_file_name=’app.log’, log_level=logging.INFO)

License

This project is licensed under the MIT License.

Release files for nightwatch 1.0.7

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

Source distribution (sdist)

Source distribution for nightwatch 1.0.7
File Size Uploaded
nightwatch-1.0.7.tar.gz 2.4 kB Details

Release files / nightwatch-1.0.7.tar.gz

Download URL nightwatch-1.0.7.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d05aaa8becfc3c31c64433ca1f34b506c95def53fb6ff8864492bd219911be7f
BLAKE2b-256 checksum
How to use checksums
a115f38f58005f8a2fefc5750c1c04d0131be3c6d83c6b173f586b644347f9bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Release history Release notifications | RSS feed

This release

1.0.7 This release

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

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