Click or drag to resize
ConsoleLogger Class
Logger that logs to System.Console.
Inheritance Hierarchy

Namespace: Grpc.Core.Logging
Assembly: Grpc.Core (in Grpc.Core.dll) Version: 1.0.0
Syntax
public class ConsoleLogger : TextWriterLogger

The ConsoleLogger type exposes the following members.

Constructors
  NameDescription
Public methodConsoleLogger
Creates a console logger not associated to any specific type.
Top
Properties
  NameDescription
Protected propertyAssociatedType
Gets the type associated with this logger.
(Inherited from TextWriterLogger.)
Top
Methods
  NameDescription
Public methodDebug(String)
Logs a message with severity Debug.
(Inherited from TextWriterLogger.)
Public methodDebug(String, Object)
Logs a formatted message with severity Debug.
(Inherited from TextWriterLogger.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodError(String)
Logs a message with severity Error.
(Inherited from TextWriterLogger.)
Public methodError(Exception, String)
Logs a message and an associated exception with severity Error.
(Inherited from TextWriterLogger.)
Public methodError(String, Object)
Logs a formatted message with severity Error.
(Inherited from TextWriterLogger.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodForTypeT
Returns a logger associated with the specified type.
(Overrides TextWriterLoggerForTypeT.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInfo(String)
Logs a message with severity Info.
(Inherited from TextWriterLogger.)
Public methodInfo(String, Object)
Logs a formatted message with severity Info.
(Inherited from TextWriterLogger.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWarning(String)
Logs a message with severity Warning.
(Inherited from TextWriterLogger.)
Public methodWarning(Exception, String)
Logs a message and an associated exception with severity Warning.
(Inherited from TextWriterLogger.)
Public methodWarning(String, Object)
Logs a formatted message with severity Warning.
(Inherited from TextWriterLogger.)
Top
See Also