Configure logger to write logs into the appdata directory
Project description
Configure logger to write logs into the %appdata% directory.
Install:
pip install appdata-logger
Usage:
import logging
import appdata_logger
logger = logging.getLogger(__name__)
if __name__ == '__main__':
appdata_logger.config_with_console_and_file_handlers(application='myapp')
appdata_logger.log_command_line()
logger.info('Started')
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
appdata_logger-0.2.2.tar.gz
(3.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file appdata_logger-0.2.2.tar.gz.
File metadata
- Download URL: appdata_logger-0.2.2.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
709310cd87149e330bb529711ebb182fec753c150ebfd74ddc94c6cc4b54ffae
|
|
| MD5 |
3507447cf95648e916a2f6ed4d94999d
|
|
| BLAKE2b-256 |
0588556a870776b8ec66f82125b273b0da423dc1e779efa2d6994d358890d52b
|
File details
Details for the file appdata_logger-0.2.2-py3-none-any.whl.
File metadata
- Download URL: appdata_logger-0.2.2-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5957158d9f4c4c94e804e6cf22aba8a353102323f26646d548581a313c1cfe2
|
|
| MD5 |
c1d653827c15e13d29d2732d9ed05dbe
|
|
| BLAKE2b-256 |
c82c527da1a68a38f874d42951b9d0ddaf8f51d6769c0cce61de2746258b6e28
|