<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. |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2022-12-06 (世界標準時間)。
[null,null,["上次更新時間: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."]]],[]]