Send feedback
Interface ILogger (1.59.0) Stay organized with collections
Save and categorize content based on your preferences.
Version 1.59.0 keyboard_arrow_down
Describes a logging interface which is used for outputting messages.
Namespace
Google.Apis.Logging
Assembly
Google.Apis.Core.dll
Properties
IsDebugEnabled
bool IsDebugEnabled { get; }
Gets an indication whether debug output is logged or not.
Methods
Debug(String, Object[])
void Debug(string message, params object[] formatArgs)
formatArgs
Object
[]
String.Format arguments (if applicable).
Error(Exception, String, Object[])
void Error(Exception exception, string message, params object[] formatArgs)
Logs an error message resulting from an exception.
formatArgs
Object
[]
String.Format arguments (if applicable).
Error(String, Object[])
void Error(string message, params object[] formatArgs)
formatArgs
Object
[]
String.Format arguments (if applicable).
ForType(Type)
ILogger
ForType
(
Type
type
)
Returns a logger which will be associated with the specified type.
type
Type
Type to which this logger belongs.
A type-associated logger.
ForType<T>()
Returns a logger which will be associated with the specified type.
A type-associated logger.
Info(String, Object[])
void Info(string message, params object[] formatArgs)
formatArgs
Object
[]
String.Format arguments (if applicable).
Warning(String, Object[])
void Warning(string message, params object[] formatArgs)
formatArgs
Object
[]
String.Format arguments (if applicable).
Extension Method
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-30 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]