메소드 | 설명 | |
---|---|---|
AppendAdditionalLoggingInformation ( ILogglyAppenderConfig config, log4net.Core.LoggingEvent loggingEvent ) : void | ||
LogglyFormatter ( ) : System | ||
ToJson ( IEnumerable |
||
ToJson ( log4net.Core.LoggingEvent loggingEvent ) : string | ||
ToJson ( string renderedLog, System.DateTime timeStamp ) : string |
메소드 | 설명 | |
---|---|---|
GetExceptionInfo ( log4net.Core.LoggingEvent loggingEvent ) : object |
Returns the exception information. Also takes care of the InnerException.
|
|
GetMessageAndObjectInfo ( log4net.Core.LoggingEvent loggingEvent, object &objInfo ) : string |
Returns a string type message if it is not a custom object, otherwise returns custom object details
|
|
ParseRenderedLog ( string log, System.DateTime timeStamp ) : string |
Merged Rendered log and formatted timestamp in the single Json object
|
|
PreParse ( log4net.Core.LoggingEvent loggingEvent ) : string |
Formats the log event to various JSON fields that are to be shown in Loggly.
|
|
TryGetParsedJsonFromLog ( dynamic loggingInfo, object loggingObject, string &_loggingEventJSON ) : bool |
Tries to merge log with the logged object or rendered log and converts to JSON
|
public AppendAdditionalLoggingInformation ( ILogglyAppenderConfig config, log4net.Core.LoggingEvent loggingEvent ) : void | ||
config | ILogglyAppenderConfig | |
loggingEvent | log4net.Core.LoggingEvent | |
리턴 | void |
public ToJson ( IEnumerable |
||
loggingEvents | IEnumerable |
|
리턴 | string |
public ToJson ( log4net.Core.LoggingEvent loggingEvent ) : string | ||
loggingEvent | log4net.Core.LoggingEvent | |
리턴 | string |
public ToJson ( string renderedLog, System.DateTime timeStamp ) : string | ||
renderedLog | string | |
timeStamp | System.DateTime | |
리턴 | string |