This is almost complete rewrite of the library compared to version 8.0.1.
There are following changes and fixes:
- Fixed serialization of logged objects. They are now again serialized as full JSON instead of their .NET type name. - Fixed issue when logicalThreadContextKeys and globalContextKeys were ignored if <layout> definition was used.
- Fixed priority of
GlobalContext
,ThreadContext
,LogicalThreadContext
andEventContext
properties. It was in reverse order than it should be. Correct priority from highest to lowest isEventContext
->LogicalThreadContext
->ThreadContext
->GlobalContext
- Removed option to use Loggly
/inputs
HTTP endpoint. All logs are sent via/bulk
endpoint. - Changed inner exception property names. Previously the exception properties were named
exceptionType
,exceptionMessage
etc. but inner exception properties wereinnerExceptionType
,innerExceptionMessage
etc. This was unified and inner exception properties are now also namedexceptionType
,exceptionMessage
etc. - Changed default number of inner exceptions that are sent in log from 1 to 4.
- Changed visibility of private/internal classes to be really internal. Only public class is now
LogglyAppender
.