Class ConsoleLogger

public class ConsoleLogger : TextWriterLogger, ILogger

Logger that logs to System.Console.

Inheritance

Object > TextWriterLogger > ConsoleLogger

Implements

ILogger

Namespace

Grpc.Core.Logging

Assembly

Grpc.Core.dll

Constructors

ConsoleLogger()

public ConsoleLogger()

Creates a console logger not associated to any specific type.

Methods

ForType<T>()

public override ILogger ForType<T>()

Returns a logger associated with the specified type.

Returns
TypeDescription
ILogger
Type Parameter
NameDescription
T
Overrides

Implements