<GCKLoggerDelegate> Protocol

  • The GCKLoggerDelegate protocol allows developers to customize the logging behavior of the Google Cast framework.

  • It provides two methods for logging messages: logFromFunction:message: (deprecated) and logMessage:fromFunction:.

  • The logMessage:fromFunction: method is the preferred way to log messages and includes the message and the calling function.

  • Both methods are optional and can be implemented as needed by the delegate.

<GCKLoggerDelegate> Protocol Reference

Overview

The GCKLogger delegate protocol.

Inherits <NSObjectNSObject>.

Instance Method Summary

(void) - logFromFunction:message:
 Logs a message. More...
 
(void) - logMessage:fromFunction:
 Logs a message. More...
 

Method Detail

- (void) logFromFunction: (const char *)  function
message: (NSString *)  message 
optional

Logs a message.

Deprecated:
Use logMessage:fromFunction: instead.
Parameters
functionThe calling function, normally __func__.
messageThe log message.
- (void) logMessage: (NSString *)  message
fromFunction: (NSString *)  function 
optional

Logs a message.

Parameters
functionThe calling function, normally obtained from __func__.
messageThe log message.