in src/AWS.Logger.SeriLog/AWSSink.cs [45:60]
public void Emit(LogEvent logEvent)
{
var message = RenderLogEvent(logEvent);
// If there is no custom formatter passed that would have taken care of logging the exception then append the
// exception to the log if one exists.
if (_textFormatter == null && logEvent.Exception != null)
{
message = string.Concat(message, Environment.NewLine, logEvent.Exception.ToString(), Environment.NewLine);
}
else
{
message = string.Concat(message, Environment.NewLine);
}
_core.AddMessage(message);
}