Documentation ¶
Overview ¶
This is an internal helper package to combine the complete logging APIs.
Index ¶
Constants ¶
View Source
const ( EventRequest = azlog.EventRequest EventResponse = azlog.EventResponse EventResponseError = azlog.EventResponseError EventRetryPolicy = azlog.EventRetryPolicy EventLRO = azlog.EventLRO )
Variables ¶
This section is empty.
Functions ¶
func SetListener ¶
SetListener will set the Logger to write to the specified listener.
func Should ¶
Should returns true if the specified log event should be written to the log. By default all log events will be logged. Call SetEvents() to limit the log events for logging. If no listener has been set this will return false. Calling this method is useful when the message to log is computationally expensive and you want to avoid the overhead if its log event is not enabled.
Types ¶
Click to show internal directories.
Click to hide internal directories.