Remote Logs
DeployGate offers a remote log feature that allows you to view Logs wirelessly.
Remote logs are displayed on the timeline of a distributed application’s page. Additionally, a remote log is saved to a file when run, and a series of logs are collectively sent on the next launch.
Swift
DGSLogv("%@", getVaList(["DGLog test message"]))
Objective-C
DGSLog(@"%@", @"DGLog test message");
Tips Objective-C
DGSLog for the NSLog is compatible, so you add the following macro to the precompiled header (.pch) and replace NSLog.
Objective-C
#define NSLog DGSLog
You can also output the class name, method name, and line number with the following.
Objective-C
#define NSLog(__FORMAT__, ...) DGSLog((@"%s [Line %d] " __FORMAT__), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__)