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.4.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

elm_framework_helpers-0.1.4-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: elm_framework_helpers-0.1.4.tar.gz
  • Upload date:
  • Size: 3.7 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.4.tar.gz
Algorithm Hash digest
SHA256 e9755bf5a791ee590fb45340ab716d2eeeb4444f550b44bcc526ba4848eb7fb2
MD5 89583edef051642300f4e7b8a075ffad
BLAKE2b-256 1cc8a112378c02101883d022098c2977fbdc4f6761d52c877a441b0952aa81c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: elm_framework_helpers-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4241c24dee8111298a78bb62ed74f801c34b1b44bddeebae3621b3fcf770126e
MD5 e8d5dec22857aba314a9ab7a05aff2a3
BLAKE2b-256 c3cbbfc0b10a5503ef14b0d8d3752aec379771546929ebbb14fbc31b0c1f12e0

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