Some modest optimizations
Macro priority test
new logging framework reloaded
refactored to structlog
tests for slogging
fix ref