Skip to content

Examples Override

Eduard Mishkurov edited this page Apr 7, 2026 · 1 revision

Override example

Override

This example shows how local overrides modify a log record.

What it demonstrates

  • Creating a Logme::Override
  • Removing the method name from output
  • Using overrides with the default channel and a custom channel
  • Stream-style and printf-style calls with the same override

Notes

  • Overrides can be applied per call without changing global logger configuration.

Clone this wiki locally