<GCKLoggerDelegate> 协议
继承 <NSObjectNSObject>。
- (void) logFromFunction: |
|
(const char *) |
function |
message: |
|
(NSString *) |
message |
|
|
| |
|
optional |
- (void) logMessage: |
|
(NSString *) |
message |
fromFunction: |
|
(NSString *) |
function |
|
|
| |
|
optional |
记录消息。
- Parameters
-
function | The calling function, normally obtained from __func__ . |
message | The log message. |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-12-06。
[null,null,["最后更新时间 (UTC):2022-12-06。"],[[["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."]]],[]]