Click or drag to resize
NullLogger Class
Logger which doesn't log any information anywhere.
Inheritance Hierarchy
SystemObject
  Grpc.Core.LoggingNullLogger

Namespace: Grpc.Core.Logging
Assembly: Grpc.Core (in Grpc.Core.dll) Version: 0.15.0
Syntax
public sealed class NullLogger : ILogger

The NullLogger type exposes the following members.

Constructors
  NameDescription
Public methodNullLogger
Initializes a new instance of the NullLogger class
Top
Methods
  NameDescription
Public methodDebug(String)
As with all logging calls on this logger, this method is a no-op.
Public methodDebug(String, Object)
As with all logging calls on this logger, this method is a no-op.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodError(String)
As with all logging calls on this logger, this method is a no-op.
Public methodError(Exception, String)
As with all logging calls on this logger, this method is a no-op.
Public methodError(String, Object)
As with all logging calls on this logger, this method is a no-op.
Public methodForTypeT
Returns a reference to the instance on which the method is called, as instances aren't associated with specific types.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInfo(String)
As with all logging calls on this logger, this method is a no-op.
Public methodInfo(String, Object)
As with all logging calls on this logger, this method is a no-op.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWarning(String)
As with all logging calls on this logger, this method is a no-op.
Public methodWarning(Exception, String)
As with all logging calls on this logger, this method is a no-op.
Public methodWarning(String, Object)
As with all logging calls on this logger, this method is a no-op.
Top
See Also