No project description provided
Project description
Helpers for the ELM framework scripts
Logging
Here's a sample logging for production:
[loggers]
keys=root,Rx,rawsocket
[handlers]
keys=consoleHandler,fileHandler,socketFileHandler
[formatters]
keys=fileFormatter,consoleFormatter,socketFileFormatter
[logger_root]
level=DEBUG
handlers=consoleHandler,fileHandler
[logger_Rx]
level=INFO
handlers=consoleHandler
qualname=Rx
[logger_rawsocket]
qualname=bittrade_kraken_websocket.connection.generic.raw
handlers=socketFileHandler
[handler_consoleHandler]
class=StreamHandler
level=INFO
formatter=consoleFormatter
args=(sys.stdout,)
[handler_fileHandler]
class=FileHandler
level=DEBUG
formatter=fileFormatter
args=('logfile.log',)
[handler_socketFileHandler]
class=FileHandler
level=DEBUG
formatter=socketFileFormatter
args=('raw_socket.log',)
[formatter_fileFormatter]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
datefmt=%H:%M:%S
[formatter_socketFileFormatter]
format=%(asctime)s - %(message)s
datefmt=%H:%M:%S
[formatter_consoleFormatter]
format=%(asctime)s - %(levelname)s - %(message)s
datefmt=%H:%M:%S
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
Built Distribution
File details
Details for the file elm_framework_helpers-0.1.1.tar.gz
.
File metadata
- Download URL: elm_framework_helpers-0.1.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.10.5 Linux/5.4.72-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c5480d3e4bbb00f73e84ae0b3dca956c429adbbddc45a951263852c3dca9c09 |
|
MD5 | 570b1bf984c4f58ef883e4d12b5f0f1f |
|
BLAKE2b-256 | 3825e7acc214b2c4141495ae8cb349e06c83253bb92b4b1b9e97b4e621ff7e3b |
File details
Details for the file elm_framework_helpers-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: elm_framework_helpers-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.10.5 Linux/5.4.72-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a363b621bce88c098a5e53d7cba272f45dbfb6dded4c67f5f6294f721776cccc |
|
MD5 | 07e88614856ae18c17d76cd865d3bf68 |
|
BLAKE2b-256 | 003961e650f07a2135cc815ad85f27f3792bae51b97a2a297fb68444b93e2bd7 |