I am looking for a way to dump a tail of trace level logging (and up) when an error occurs.
Is there a way to do this?
I am looking for a way to dump a tail of trace level logging (and up) when an error occurs.
Is there a way to do this?
Copyright © 2021 Jogjafile Inc.
Sorry, but NLog has no built-in target for this feature. But you can easy implement this! Create custom target based on
CompoundTargetBase
class!Here my simple prototype: