4

Is there a way to redirect events logged using the Semantic Logging Application Block to a Log4Net listener?

What I want to do is fully instrument my libraries for SLAB, but in a way that doesn't force my Log4Net users to fully adopt SLAB.

Jonathan Allen
  • 68,373
  • 70
  • 259
  • 447

1 Answers1

1

By default, you can log an object to it and it will serialize it with its default renderers.

log.Debug(new {color="red", int1 = 1});