Utils
Notice
This document is a machine-translated draft and is currently undergoing review. Some content may be inaccurate or differ from the original Korean version. For the most precise information, refer to the Korean documentation.
Logutil class
#import <LogUtil.h>
Class methods
(instancetype) sharedUtil(void) utilLog:
Properties
id<UtilDelegate> utilDelegate
Method details
(instancetype) sharedUtil
Returns a singleton instance.
(void) utilLog: (NSString *) logContent , ...
Outputs a log message.
Property details
| Property | Description |
|---|---|
(id<UtilDelegate>) utilDelegate[read, write, nonatomic, weak] | Log receiving delegate |
Utildelegate protocol
#import <LogUtil.h>
Instance methods
(void) onLogUtil:
Method details
(void) onLogUtil: (NSString *) logData
Called when a log message is received.
- Parameters
logData: Received log message