HexaLog is a logging port and set of opinionated adapters meant to simplify using a logger in a hexagonal architecture.
Project description
HexaLog
HexaLog is a logging port and set of opinionated adapters meant to simplify using a logger in a hexagonal architecture.
Why
In hexagonal architecture dependencies external dependencies should be injected to adapters and the service at runtime. This means business logic doesn't directly depend on external concerns which can (arguably) make code easier to test and maintain. A logger is an external dependency, therefor it to can be passed into a service or adapter at runtime.
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
hexalog-0.4.0.tar.gz
(2.8 kB
view hashes)