Class Loggers
OnLog callback event handler implementations.
Inheritance
System.Object
Loggers
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 static class Loggers
Remarks
Warning: Log handlers are called spontaneously from internal librdkafka threads and the application must not call any Confluent.Kafka APIs from within a log handler or perform any prolonged operations.
Methods
ConsoleLogger(Object, LogMessage)
The method used to log messages by default.
Declaration
public static void ConsoleLogger(object obj, LogMessage logInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | |
LogMessage | logInfo |