/dports/devel/log4net/log4net-1.2.10/src/Layout/ |
H A D | XmlLayoutSchemaLog4j.cs | 146 …loggingEvent.GetProperties()["log4jmachinename"] = loggingEvent.LookupProperty(LoggingEvent.HostNa… in FormatXml() 151 loggingEvent.Domain != null && in FormatXml() 152 loggingEvent.Domain.Length > 0) in FormatXml() 154 loggingEvent.GetProperties()["log4japp"] = loggingEvent.Domain; in FormatXml() 158 if (loggingEvent.Identity != null && in FormatXml() 159 loggingEvent.Identity.Length > 0 && in FormatXml() 162 loggingEvent.GetProperties()[LoggingEvent.IdentityProperty] = loggingEvent.Identity; in FormatXml() 166 if (loggingEvent.UserName != null && in FormatXml() 167 loggingEvent.UserName.Length > 0 && in FormatXml() 170 loggingEvent.GetProperties()[LoggingEvent.UserNameProperty] = loggingEvent.UserName; in FormatXml() [all …]
|
H A D | XMLLayout.cs | 220 writer.WriteAttributeString(ATTR_LOGGER, loggingEvent.LoggerName); in FormatXml() 229 writer.WriteAttributeString(ATTR_THREAD, loggingEvent.ThreadName); in FormatXml() 231 if (loggingEvent.Domain != null && loggingEvent.Domain.Length > 0) in FormatXml() 233 writer.WriteAttributeString(ATTR_DOMAIN, loggingEvent.Domain); in FormatXml() 235 if (loggingEvent.Identity != null && loggingEvent.Identity.Length > 0) in FormatXml() 237 writer.WriteAttributeString(ATTR_IDENTITY, loggingEvent.Identity); in FormatXml() 239 if (loggingEvent.UserName != null && loggingEvent.UserName.Length > 0) in FormatXml() 241 writer.WriteAttributeString(ATTR_USERNAME, loggingEvent.UserName); in FormatXml() 258 PropertiesDictionary properties = loggingEvent.GetProperties(); in FormatXml() 287 string exceptionStr = loggingEvent.GetExceptionString(); in FormatXml() [all …]
|
H A D | SimpleLayout.cs | 95 override public void Format(TextWriter writer, LoggingEvent loggingEvent) in Format() argument 97 if (loggingEvent == null) in Format() 102 writer.Write(loggingEvent.Level.DisplayName); in Format() 104 loggingEvent.WriteRenderedMessage(writer); in Format()
|
/dports/devel/log4net/log4net-1.2.10/examples/net/1.0/Appenders/WmiAppender/cs/src/ |
H A D | WmiLayout.cs | 48 public virtual IEvent Format(LoggingEvent loggingEvent) in Format() argument 59 boundEvent.Bind(loggingEvent); in Format() 66 return CreateEvent(loggingEvent); in Format() 84 protected virtual IEvent CreateEvent(LoggingEvent loggingEvent) in CreateEvent() argument 88 wmiEvent.TimeStamp = loggingEvent.TimeStamp; in CreateEvent() 89 wmiEvent.LoggerName = loggingEvent.LoggerName; in CreateEvent() 90 wmiEvent.Level = loggingEvent.Level.DisplayName; in CreateEvent() 91 wmiEvent.Message = loggingEvent.RenderedMessage; in CreateEvent() 92 wmiEvent.ThreadName = loggingEvent.ThreadName; in CreateEvent() 93 wmiEvent.ExceptionString = loggingEvent.GetExceptionString(); in CreateEvent() [all …]
|
H A D | WmiAppender.cs | 217 public void DoAppend(LoggingEvent loggingEvent) in DoAppend() argument 219 if (loggingEvent == null) in DoAppend() 226 if (IsAsSevereAsThreshold(loggingEvent.Level)) in DoAppend() 228 IEvent instrumentationEvent = m_layout.Format(loggingEvent); in DoAppend()
|
/dports/devel/log4net/log4net-1.2.10/tests/src/Core/ |
H A D | FixingTest.cs | 47 LoggingEvent loggingEvent = new LoggingEvent( in TestUnfixedValues() 55 assertExpectedLoggingEvent(loggingEvent, loggingEventData); in TestUnfixedValues() 57 Assert.AreEqual(FixFlags.None,loggingEvent.Fix,"Fixed Fields is incorrect"); in TestUnfixedValues() 65 LoggingEvent loggingEvent = new LoggingEvent( in TestAllFixedValues() 73 assertExpectedLoggingEvent(loggingEvent, loggingEventData); in TestAllFixedValues() 75 loggingEvent.Fix = FixFlags.All; in TestAllFixedValues() 85 LoggingEvent loggingEvent = new LoggingEvent( in TestNoFixedValues() 93 assertExpectedLoggingEvent(loggingEvent, loggingEventData); in TestNoFixedValues() 95 loggingEvent.Fix = FixFlags.None; in TestNoFixedValues() 97 Assert.AreEqual(FixFlags.None,loggingEvent.Fix,"Fixed Fields is incorrect"); in TestNoFixedValues() [all …]
|
/dports/devel/log4net/log4net-1.2.10/src/Appender/ |
H A D | AppenderSkeleton.cs | 289 public void DoAppend(LoggingEvent loggingEvent) in DoAppend() argument 316 this.Append(loggingEvent); in DoAppend() 415 if (FilterEvent(loggingEvent)) in DoAppend() 417 filteredEvents.Add(loggingEvent); in DoAppend() 483 if (!IsAsSevereAsThreshold(loggingEvent.Level)) in FilterEvent() 492 switch(f.Decide(loggingEvent)) in FilterEvent() 634 Append(loggingEvent); in Append() 702 RenderLoggingEvent(m_renderWriter, loggingEvent); in RenderLoggingEvent() 742 m_layout.Format(writer, loggingEvent); in RenderLoggingEvent() 748 m_layout.Format(writer, loggingEvent); in RenderLoggingEvent() [all …]
|
H A D | BufferingAppenderSkeleton.cs | 321 foreach(LoggingEvent loggingEvent in bufferedEvents) in Flush() 323 if (m_lossyEvaluator.IsTriggeringEvent(loggingEvent)) in Flush() 325 filteredEvents.Add(loggingEvent); in Flush() 443 override protected void Append(LoggingEvent loggingEvent) in Append() argument 453 (m_evaluator != null && m_evaluator.IsTriggeringEvent(loggingEvent)) || in Append() 459 loggingEvent.Fix = this.Fix; in Append() 463 SendBuffer(new LoggingEvent[] { loggingEvent } ); in Append() 471 loggingEvent.Fix = this.Fix; in Append() 474 LoggingEvent discardedLoggingEvent = m_cb.Append(loggingEvent); in Append() 494 if (m_evaluator != null && m_evaluator.IsTriggeringEvent(loggingEvent)) in Append() [all …]
|
H A D | AspNetTraceAppender.cs | 84 override protected void Append(LoggingEvent loggingEvent) in Append() argument 92 if (loggingEvent.Level >= Level.Warn) in Append() 94 HttpContext.Current.Trace.Warn(loggingEvent.LoggerName, RenderLoggingEvent(loggingEvent)); in Append() 98 HttpContext.Current.Trace.Write(loggingEvent.LoggerName, RenderLoggingEvent(loggingEvent)); in Append()
|
H A D | TraceAppender.cs | 124 override protected void Append(LoggingEvent loggingEvent) in Append() argument 130 System.Diagnostics.Debug.Write(RenderLoggingEvent(loggingEvent), loggingEvent.LoggerName); in Append() 132 System.Diagnostics.Trace.Write(RenderLoggingEvent(loggingEvent), loggingEvent.LoggerName); in Append()
|
H A D | ConsoleAppender.cs | 150 override protected void Append(LoggingEvent loggingEvent) in Append() argument 154 Console.Write(RenderLoggingEvent(loggingEvent)); in Append() 159 Console.Error.Write(RenderLoggingEvent(loggingEvent)); in Append() 164 Console.Write(RenderLoggingEvent(loggingEvent)); in Append()
|
/dports/devel/log4net/log4net-1.2.10/extensions/net/1.0/log4net.Ext.EventID/cs/src/ |
H A D | EventIDLogImpl.cs | 47 …LoggingEvent loggingEvent = new LoggingEvent(ThisDeclaringType, Logger.Repository, Logger.Name, Le… in Info() 48 loggingEvent.Properties["EventID"] = eventId; in Info() 49 Logger.Log(loggingEvent); in Info() 62 …LoggingEvent loggingEvent = new LoggingEvent(ThisDeclaringType, Logger.Repository, Logger.Name, Le… in Warn() 63 loggingEvent.Properties["EventID"] = eventId; in Warn() 64 Logger.Log(loggingEvent); in Warn() 77 …LoggingEvent loggingEvent = new LoggingEvent(ThisDeclaringType, Logger.Repository, Logger.Name, Le… in Error() 78 loggingEvent.Properties["EventID"] = eventId; in Error() 79 Logger.Log(loggingEvent); in Error() 93 loggingEvent.Properties["EventID"] = eventId; in Fatal() [all …]
|
/dports/devel/log4net/log4net-1.2.10/examples/net/1.0/Appenders/SampleAppendersApp/cs/src/Appender/ |
H A D | FastDbAppender.cs | 74 public virtual void DoAppend(LoggingEvent loggingEvent) in DoAppend() argument 86 SetCommandValues(command, loggingEvent); in DoAppend() 104 foreach(LoggingEvent loggingEvent in loggingEvents) in DoAppend() 106 SetCommandValues(command, loggingEvent); in DoAppend() 188 virtual protected void SetCommandValues(IDbCommand command, LoggingEvent loggingEvent) in SetCommandValues() argument 190 ((IDbDataParameter)command.Parameters["@Time"]).Value = loggingEvent.TimeStamp; in SetCommandValues() 191 ((IDbDataParameter)command.Parameters["@Logger"]).Value = loggingEvent.LoggerName; in SetCommandValues() 192 ((IDbDataParameter)command.Parameters["@Level"]).Value = loggingEvent.Level.Name; in SetCommandValues() 193 ((IDbDataParameter)command.Parameters["@Thread"]).Value = loggingEvent.ThreadName; in SetCommandValues() 194 ((IDbDataParameter)command.Parameters["@Message"]).Value = loggingEvent.RenderedMessage; in SetCommandValues()
|
H A D | AsyncAppender.cs | 68 public void DoAppend(LoggingEvent loggingEvent) in DoAppend() argument 70 loggingEvent.Fix = m_fixFlags; in DoAppend() 71 System.Threading.ThreadPool.QueueUserWorkItem(new WaitCallback(AsyncAppend), loggingEvent); in DoAppend() 76 foreach(LoggingEvent loggingEvent in loggingEvents) in DoAppend() 78 loggingEvent.Fix = m_fixFlags; in DoAppend() 87 LoggingEvent loggingEvent = state as LoggingEvent; in AsyncAppend() 88 if (loggingEvent != null) in AsyncAppend() 90 m_appenderAttachedImpl.AppendLoopOnAppenders(loggingEvent); in AsyncAppend()
|
H A D | FireEventAppender.cs | 31 public MessageLoggedEventArgs(LoggingEvent loggingEvent) in MessageLoggedEventArgs() argument 33 m_loggingEvent = loggingEvent; in MessageLoggedEventArgs() 75 override protected void Append(LoggingEvent loggingEvent) in Append() argument 79 loggingEvent.Fix = this.Fix; in Append() 85 handler(this, new MessageLoggedEventArgs(loggingEvent)); in Append()
|
H A D | MessageObjectExpanderAppender.cs | 36 override protected void Append(LoggingEvent loggingEvent) in Append() argument 38 object messageObject = loggingEvent.MessageObject; in Append() 51 loggingEvent.Properties[propertyInfo.Name] = propertyInfo.GetValue(messageObject, null); in Append() 61 loggingEvent.Properties[fieldInfo.Name] = fieldInfo.GetValue(messageObject); in Append() 67 base.Append(loggingEvent); in Append()
|
H A D | MessageBoxAppender.cs | 57 override protected void Append(LoggingEvent loggingEvent) in Append() argument 61 LevelIcon levelIcon = m_levelMapping.Lookup(loggingEvent.Level) as LevelIcon; in Append() 68 string message = RenderLoggingEvent(loggingEvent); in Append() 73 title = "LoggingEvent: "+loggingEvent.Level.Name; in Append() 78 m_titleLayout.Format(titleWriter, loggingEvent); in Append()
|
H A D | MsmqAppender.cs | 57 override protected void Append(LoggingEvent loggingEvent) in Append() argument 75 message.Label = RenderLabel(loggingEvent); in Append() 80 base.RenderLoggingEvent(writer, loggingEvent); in Append() 90 private string RenderLabel(LoggingEvent loggingEvent) in RenderLabel() argument 98 m_labelLayout.Format(writer, loggingEvent); in RenderLabel()
|
/dports/devel/log4net/log4net-1.2.10/src/Layout/Pattern/ |
H A D | PropertyPatternConverter.cs | 62 override protected void Convert(TextWriter writer, LoggingEvent loggingEvent) in Convert() argument 67 WriteObject(writer, loggingEvent.Repository, loggingEvent.LookupProperty(Option)); in Convert() 72 WriteDictionary(writer, loggingEvent.Repository, loggingEvent.GetProperties()); in Convert()
|
H A D | PatternLayoutConverter.cs | 87 abstract protected void Convert(TextWriter writer, LoggingEvent loggingEvent); in Convert() argument 101 LoggingEvent loggingEvent = state as LoggingEvent; in Convert() 102 if (loggingEvent != null) in Convert() 104 Convert(writer, loggingEvent); in Convert()
|
H A D | NdcPatternConverter.cs | 55 override protected void Convert(TextWriter writer, LoggingEvent loggingEvent) in Convert() argument 58 WriteObject(writer, loggingEvent.Repository, loggingEvent.LookupProperty("NDC")); in Convert()
|
/dports/devel/log4net/log4net-1.2.10/src/Filter/ |
H A D | LevelRangeFilter.cs | 144 override public FilterDecision Decide(LoggingEvent loggingEvent) in Decide() argument 146 if (loggingEvent == null) in Decide() 153 if (loggingEvent.Level < m_levelMin) in Decide() 162 if (loggingEvent.Level > m_levelMax) in Decide()
|
H A D | PropertyFilter.cs | 96 override public FilterDecision Decide(LoggingEvent loggingEvent) in Decide() argument 98 if (loggingEvent == null) in Decide() 113 object msgObj = loggingEvent.LookupProperty(m_key); in Decide() 116 string msg = loggingEvent.Repository.RendererMap.FindAndRender(msgObj); in Decide()
|
/dports/devel/log4net/log4net-1.2.10/src/Util/ |
H A D | AppenderAttachedImpl.cs | 69 public int AppendLoopOnAppenders(LoggingEvent loggingEvent) in AppendLoopOnAppenders() argument 71 if (loggingEvent == null) in AppendLoopOnAppenders() 91 appender.DoAppend(loggingEvent); in AppendLoopOnAppenders() 178 foreach(LoggingEvent loggingEvent in loggingEvents) in CallAppend() 180 appender.DoAppend(loggingEvent); in CallAppend()
|
/dports/games/hedgewars-server/hedgewars-src-1.0.0/gameServer/_cabal_deps/hslogger-1.3.1.0/contrib/java/org/haskell/hslogger/ |
H A D | XMLDecoder.java | 365 LoggingEvent loggingEvent = new LoggingEvent(); in decodeEvents() local 366 loggingEvent.setLogger(logger); in decodeEvents() 367 loggingEvent.setTimeStamp(timeStamp); in decodeEvents() 368 loggingEvent.setLevel(levelImpl); in decodeEvents() 369 loggingEvent.setThreadName(threadName); in decodeEvents() 370 loggingEvent.setMessage(message); in decodeEvents() 371 loggingEvent.setNDC(ndc); in decodeEvents() 372 loggingEvent.setThrowableInformation(new ThrowableInformation(exception)); in decodeEvents() 373 loggingEvent.setProperties(properties); in decodeEvents() 375 events.add(loggingEvent); in decodeEvents()
|