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

Describes a logging interface which is used for outputting messages. More...

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

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]
 Gets an indication whether debug output is logged or not. More...
 

Detailed Description

Describes a logging interface which is used for outputting messages.

Member Function Documentation

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

Logs a debug message.

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

Implemented in Google.Apis.Logging.Log4NetLogger, and Google.Apis.Logging.NullLogger.

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

Logs an error message resulting from an exception.

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

Implemented in Google.Apis.Logging.Log4NetLogger, and Google.Apis.Logging.NullLogger.

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

Logs an error message.

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

Implemented in Google.Apis.Logging.Log4NetLogger, and Google.Apis.Logging.NullLogger.

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

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

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

Implemented in Google.Apis.Logging.Log4NetLogger, and Google.Apis.Logging.NullLogger.

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

Returns
A type-associated logger.

Implemented in Google.Apis.Logging.Log4NetLogger, and Google.Apis.Logging.NullLogger.

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

Logs an info message.

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

Implemented in Google.Apis.Logging.Log4NetLogger, and Google.Apis.Logging.NullLogger.

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

Logs a warning.

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

Implemented in Google.Apis.Logging.Log4NetLogger, and Google.Apis.Logging.NullLogger.

Property Documentation

bool Google.Apis.Logging.ILogger.IsDebugEnabled
get

Gets an indication whether debug output is logged or not.


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