ArieGato / serilog-sinks-rabbitmq

Serilog Sink for RabbitMq
Apache License 2.0
53 stars 51 forks source link

support placeholders in routing key #47

Closed IharYakimush closed 5 years ago

IharYakimush commented 6 years ago

Currently routing key configuration support only constants assigned at the initialization time. In case of topic exchange it would be beneficial to build different routing keys at a runtime.

For instance routing key specified in configuration as logs.{level} might be resolved at runtime to logs.warning, logs.debug, etc. depending on actual log entry.