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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60074f73c5efc3b2904c0a75c8727a9e8b2faa24d9b438e86b9d976bd24752e5 |
|
MD5 | 389d45ba75f137a86d49797499f2e126 |
|
BLAKE2b-256 | e81db24ce109fa60387091b2579cea11a06f5611bc866e55270df1e88457b4b6 |
Close
Hashes for elm_framework_helpers-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81dda8538c7675fc885a8b03815671726a4c2a37c11a52ffa4172643e1b49f0d |
|
MD5 | 3812ac518edbfbda475277af18184d8a |
|
BLAKE2b-256 | c11861db55d571ce46f7d93d26d6307dfc6a5734c9d571224a4aa0b0cca1a1da |