We have a LoggingContext and a GetCurrentLoggingContext delegate to provide it.
This is given to the (hard-coded) DefaultLogAppendersConfigurator which supplies it to the DefaultLogAppender or the JsonLogAppender, depending on environment settings.
However, we have a rule (because of no access to the IoC during boot) that you must have a default ctor for any custom ICanConfigureLogAppenders.
We need some way to pass or access the GetCurrentLoggingContext from a custom log appender.
We have a LoggingContext and a GetCurrentLoggingContext delegate to provide it.
This is given to the (hard-coded) DefaultLogAppendersConfigurator which supplies it to the DefaultLogAppender or the JsonLogAppender, depending on environment settings.
However, we have a rule (because of no access to the IoC during boot) that you must have a default ctor for any custom ICanConfigureLogAppenders.
We need some way to pass or access the GetCurrentLoggingContext from a custom log appender.
┆Issue is synchronized with this Asana task