GCKLogger Class

GCKLogger Class Reference

Overview

A singleton object used for logging by the framework.

If a delegate is assigned, the formatted log messages are passed to the delegate. Otherwise, the messages are written using NSLog() in debug builds and are discarded otherwise.

Inherits NSObject.

Instance Method Summary

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

Class Method Summary

(GCKLogger *) + sharedInstance
 Returns the GCKLogger singleton instance. More...
 

Properties

id< GCKLoggerDelegatedelegate
 The delegate to pass log messages to. More...
 

Method Detail

+ (GCKLogger *) sharedInstance

Returns the GCKLogger singleton instance.

- (void) logFromFunction: (const char *)  function
message: (NSString *)  format
, (2) 
(3)  NS_FORMAT_FUNCTION 

Logs a message.

Parameters
functionThe calling function, normally __func__.
formatThe format string.

Property Documentation

- (id<GCKLoggerDelegate>) delegate
readwritenonatomicweak

The delegate to pass log messages to.

Google Cast iOS Sender API Reference v 2.10.1 4691