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
Close
Hashes for elm_framework_helpers-0.1.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87d024102761f6335439761bbf706b33725e90398e4f92d87354a5285abd2a75 |
|
MD5 | 7d3f2510b0cd194a66fa0713411726e6 |
|
BLAKE2b-256 | 864e8d634e5fe75f841afd2e2c7b12c84016e29181946fbaf17f2912707d9025 |
Close
Hashes for elm_framework_helpers-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47769c502d0f0e156fe3abc058f7de984bae9857ba4f45db4cf2646651efb973 |
|
MD5 | 25d8f21908cb656061d9b31b650bd29b |
|
BLAKE2b-256 | cff24d1a11f5dc6583fc46c9d8c4e2029662bf03c5f5fd301e0b19f080269044 |