confluent-kafka-dotnet
Show / Hide Table of Contents

Class LogMessage

Encapsulates information provided to the Producer/Consumer OnLog event.

Inheritance
System.Object
LogMessage
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Confluent.Kafka
Assembly: cs.temp.dll.dll
Syntax
public class LogMessage

Constructors

LogMessage(String, Int32, String, String)

Instantiates a new LogMessage class instance.

Declaration
public LogMessage(string name, int level, string facility, string message)
Parameters
Type Name Description
System.String name

The librdkakfa client instance name.

System.Int32 level

The log level (levels correspond to syslog(3)), lower is worse.

System.String facility

The facility (section of librdkafka code) that produced the message.

System.String message

The log message.

Properties

Facility

Gets the facility (section of librdkafka code) that produced the message.

Declaration
public string Facility { get; }
Property Value
Type Description
System.String

Level

Gets the log level (levels correspond to syslog(3)), lower is worse.

Declaration
public int Level { get; }
Property Value
Type Description
System.Int32

Message

Gets the log message.

Declaration
public string Message { get; }
Property Value
Type Description
System.String

Name

Gets the librdkafka client instance name.

Declaration
public string Name { get; }
Property Value
Type Description
System.String