Show / Hide Table of Contents

Class ConsoleLogger

Logger that logs to System.Console.

Inheritance
System.Object
TextWriterLogger
ConsoleLogger
Implements
ILogger
Inherited Members
TextWriterLogger.Debug(String)
TextWriterLogger.Debug(String, Object[])
TextWriterLogger.Info(String)
TextWriterLogger.Info(String, Object[])
TextWriterLogger.Warning(String)
TextWriterLogger.Warning(String, Object[])
TextWriterLogger.Warning(Exception, String)
TextWriterLogger.Error(String)
TextWriterLogger.Error(String, Object[])
TextWriterLogger.Error(Exception, String)
TextWriterLogger.AssociatedType
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: 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
Overrides
TextWriterLogger.ForType<T>()
Back to top