Class ConsoleLogger
Logger that logs to System.Console.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Grpc.Core.Logging
Assembly: Grpc.Core.dll
Syntax
public class ConsoleLogger : TextWriterLogger, ILogger
Constructors
ConsoleLogger()
Creates a console logger not associated to any specific type.
Declaration
public ConsoleLogger()
Methods
ForType<T>()
Returns a logger associated with the specified type.
Declaration
public override ILogger ForType<T>()
Returns
Type | Description |
---|---|
ILogger |
Type Parameters
Name | Description |
---|---|
T |