A simple application logger
Project description
Basic usage
from AppLogger import AppLogger
# initializing logger
config = {
'log_folder': 'log'
}
AppLogger(config)
AppLogger.start("App Log start")
AppLogger.info("This is info message")
AppLogger.warning("This is warning message")
AppLogger.exception("This is exception message")
AppLogger.debug("This is debug message")
AppLogger.error("This is error message")
AppLogger.end("App Log end")
from AppLogger import AppLogger
# initializing logger
config = {
'log_folder': 'log'
}
AppLogger(config)
AppLogger.start("App Log start")
AppLogger.info("This is info message")
AppLogger.warning("This is warning message")
AppLogger.exception("This is exception message")
AppLogger.debug("This is debug message")
AppLogger.error("This is error message")
AppLogger.end("App Log end")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
AppLogger-1.2.0.tar.gz
(1.4 kB
view details)
File details
Details for the file AppLogger-1.2.0.tar.gz
.
File metadata
- Download URL: AppLogger-1.2.0.tar.gz
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73e432ef3ea638197248d87d9db135e9386e997b1c6f1aceb49b187df8e3b147 |
|
MD5 | 96d77e40fe425307bc73e03c7c92cc6e |
|
BLAKE2b-256 | a8120945f7fdffd839fba99a68387bec40b69c1508c72c769bc0bb26f173bf46 |