Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

elm_framework_helpers-0.1.9.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

elm_framework_helpers-0.1.9-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file elm_framework_helpers-0.1.9.tar.gz.

File metadata

  • Download URL: elm_framework_helpers-0.1.9.tar.gz
  • Upload date:
  • Size: 4.5 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

Hashes for elm_framework_helpers-0.1.9.tar.gz
Algorithm Hash digest
SHA256 87d024102761f6335439761bbf706b33725e90398e4f92d87354a5285abd2a75
MD5 7d3f2510b0cd194a66fa0713411726e6
BLAKE2b-256 864e8d634e5fe75f841afd2e2c7b12c84016e29181946fbaf17f2912707d9025

See more details on using hashes here.

File details

Details for the file elm_framework_helpers-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: elm_framework_helpers-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 6.1 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

Hashes for elm_framework_helpers-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 47769c502d0f0e156fe3abc058f7de984bae9857ba4f45db4cf2646651efb973
MD5 25d8f21908cb656061d9b31b650bd29b
BLAKE2b-256 cff24d1a11f5dc6583fc46c9d8c4e2029662bf03c5f5fd301e0b19f080269044

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page