Google API Client Library for .NET  1.10.0
Public Member Functions | Properties | List of all members
Google.Apis.Logging.NullLogger Class Reference

Represents a NullLogger which does not do any logging. More...

Inheritance diagram for Google.Apis.Logging.NullLogger:
Google.Apis.Logging.ILogger

Public Member Functions

ILogger ForType (Type type)
 Returns a logger which will be associated with the specified type. More...
 
ILogger ForType< T > ()
 Returns a logger which will be associated with the specified type. More...
 
void Info (string message, params object[] formatArgs)
 Logs an info message. More...
 
void Warning (string message, params object[] formatArgs)
 Logs a warning. More...
 
void Debug (string message, params object[] formatArgs)
 Logs a debug message. More...
 
void Error (Exception exception, string message, params object[] formatArgs)
 Logs an error message resulting from an exception. More...
 
void Error (string message, params object[] formatArgs)
 Logs an error message. More...
 

Properties

bool IsDebugEnabled [get]
 
- Properties inherited from Google.Apis.Logging.ILogger
bool IsDebugEnabled [get]
 Gets an indication whether debug output is logged or not. More...
 

Detailed Description

Represents a NullLogger which does not do any logging.

Member Function Documentation

void Google.Apis.Logging.NullLogger.Debug ( string  message,
params object[]  formatArgs 
)
inline

Logs a debug message.

Parameters
messageThe message to log.
formatArgsString.Format arguments (if applicable).

Implements Google.Apis.Logging.ILogger.

void Google.Apis.Logging.NullLogger.Error ( Exception  exception,
string  message,
params object[]  formatArgs 
)
inline

Logs an error message resulting from an exception.

Parameters
exception
messageThe message to log.
formatArgsString.Format arguments (if applicable).

Implements Google.Apis.Logging.ILogger.

void Google.Apis.Logging.NullLogger.Error ( string  message,
params object[]  formatArgs 
)
inline

Logs an error message.

Parameters
messageThe message to log.
formatArgsString.Format arguments (if applicable).

Implements Google.Apis.Logging.ILogger.

ILogger Google.Apis.Logging.NullLogger.ForType ( Type  type)
inline

Returns a logger which will be associated with the specified type.

Parameters
typeType to which this logger belongs.
Returns
A type-associated logger.

Implements Google.Apis.Logging.ILogger.

Returns a logger which will be associated with the specified type.

Returns
A type-associated logger.

Implements Google.Apis.Logging.ILogger.

void Google.Apis.Logging.NullLogger.Info ( string  message,
params object[]  formatArgs 
)
inline

Logs an info message.

Parameters
messageThe message to log.
formatArgsString.Format arguments (if applicable).

Implements Google.Apis.Logging.ILogger.

void Google.Apis.Logging.NullLogger.Warning ( string  message,
params object[]  formatArgs 
)
inline

Logs a warning.

Parameters
messageThe message to log.
formatArgsString.Format arguments (if applicable).

Implements Google.Apis.Logging.ILogger.


The documentation for this class was generated from the following file: