AI-generated Key Takeaways
-
The
GCKLoggerDelegate
protocol allows developers to receive and handle log messages from the Google Cast framework. -
It defines two optional instance methods for logging messages, one with detailed context (level, function, location) and a deprecated simpler version.
-
The
logMessage:atLevel:fromFunction:location:
method is preferred and provides comprehensive information about the log event. -
The deprecated
logMessage:fromFunction:
method offers basic logging functionality but lacks contextual details.
Overview
The GCKLogger delegate protocol.
Inherits <NSObjectNSObject>.
Instance Method Summary | |
(void) | - logMessage:atLevel:fromFunction:location: |
Called by the framework to log a message. More... | |
(void) | - logMessage:fromFunction: |
Called by the framework to log a message. More... | |
Method Detail
|
optional |
Called by the framework to log a message.
- Parameters
-
message The log message. function The calling function or method. level The logging level. location The source code location of the log statement.
- Since
- 4.0
|
optional |
Called by the framework to log a message.
- Parameters
-
function The calling function, normally obtained from __func__
.message The log message.
- Deprecated:
- Use logMessage:atLevel:fromFunction:location: instead.