public class NullLogger : object, ILoggerRepresents a NullLogger which does not do any logging.
Implements
ILoggerNamespace
Google.Apis.LoggingAssembly
Google.Apis.Core.dll
Properties
IsDebugEnabled
public bool IsDebugEnabled { get; }Gets an indication whether debug output is logged or not.
| Property Value | |
|---|---|
| Type | Description | 
Boolean | 
        |
Methods
Debug(String, Object[])
public void Debug(string message, params object[] formatArgs)Logs a debug message.
| Parameters | |
|---|---|
| Name | Description | 
message | 
        StringThe message to log.  | 
      
formatArgs | 
        Object[]String.Format arguments (if applicable).  | 
      
Error(Exception, String, Object[])
public void Error(Exception exception, string message, params object[] formatArgs)Logs an error message resulting from an exception.
| Parameters | |
|---|---|
| Name | Description | 
exception | 
        Exception | 
      
message | 
        StringThe message to log.  | 
      
formatArgs | 
        Object[]String.Format arguments (if applicable).  | 
      
Error(String, Object[])
public void Error(string message, params object[] formatArgs)Logs an error message.
| Parameters | |
|---|---|
| Name | Description | 
message | 
        StringThe message to log.  | 
      
formatArgs | 
        Object[]String.Format arguments (if applicable).  | 
      
ForType(Type)
public ILogger ForType(Type type)Returns a logger which will be associated with the specified type.
| Parameter | |
|---|---|
| Name | Description | 
type | 
        TypeType to which this logger belongs.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ILogger | 
        A type-associated logger.  | 
      
ForType<T>()
public ILogger ForType<T>()Returns a logger which will be associated with the specified type.
| Returns | |
|---|---|
| Type | Description | 
ILogger | 
        A type-associated logger.  | 
      
| Type Parameter | |
|---|---|
| Name | Description | 
T | 
        |
Info(String, Object[])
public void Info(string message, params object[] formatArgs)Logs an info message.
| Parameters | |
|---|---|
| Name | Description | 
message | 
        StringThe message to log.  | 
      
formatArgs | 
        Object[]String.Format arguments (if applicable).  | 
      
Warning(String, Object[])
public void Warning(string message, params object[] formatArgs)Logs a warning.
| Parameters | |
|---|---|
| Name | Description | 
message | 
        StringThe message to log.  | 
      
formatArgs | 
        Object[]String.Format arguments (if applicable).  |