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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a25eb52e9689112aeb4c0fa2fcbd3f40d5f4ac72713fcc7897ffc706ae589340 |
|
MD5 | 3ec09693807c549c4bbefa59bd7d379b |
|
BLAKE2b-256 | 016ca59f4f8b6f534f08eb34d61655c67ef38079b79b4b07bb6f6b79875d5e8c |
Close
Hashes for elm_framework_helpers-0.1.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39c803c4bcd174014c5931f4f7252b1cb5018c973da3796b65c8e4cd708e0782 |
|
MD5 | 3c2029fe1308d864d261692ce521b53e |
|
BLAKE2b-256 | e160e1c26186faab24beff94ba0412a0d71d2ffc1be24298d9d6a8e3699e871a |