LogLog OnLogReceived Method | Apache log4net™ SDK Documentation

Raises the LogReceived event when an internal messages is received.

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public static void OnLogReceived(
    	Type source,
    	string prefix,
    	string message,
    	Exception exception
    )

    Public Shared Sub OnLogReceived (
    	source As Type,
    	prefix As String,
    	message As String,
    	exception As Exception
    )

    public:
    static void OnLogReceived(
    	Type^ source,
    	String^ prefix,
    	String^ message,
    	Exception^ exception
    )

    static member OnLogReceived :
            source : Type *
            prefix : string *
            message : string *
            exception : Exception -> unit

#### Parameters

source
  Type: System
  Type

  [Missing <param name="source"/> documentation for "M:log4net.Util.LogLog.OnLogReceived(System.Type,System.String,System.String,System.Exception)"]

prefix
  Type: System
  String

  [Missing <param name="prefix"/> documentation for "M:log4net.Util.LogLog.OnLogReceived(System.Type,System.String,System.String,System.Exception)"]

message
  Type: System
  String

  [Missing <param name="message"/> documentation for "M:log4net.Util.LogLog.OnLogReceived(System.Type,System.String,System.String,System.Exception)"]

exception
  Type: System
  Exception

  [Missing <param name="exception"/> documentation for "M:log4net.Util.LogLog.OnLogReceived(System.Type,System.String,System.String,System.Exception)"]

See Also

#### Reference

LogLog Class
log4net.Util Namespace