Message Logging
api.log is the function used to log data and save it into the panel :
The message you want to log
Code-Example
class Program {
public static api auth_instance = new api("program version", "program key", "api key");
static void Main(string[] args) {
auth_instance.init();
auth_instance.log("message1"); // message will be logged with the user set as 'NONE'
if(auth_instance.login("user", "pass")){
Console.WriteLine("success");
auth_instance.log("message2"); // message will be logged with the user set as the login one
}
}
}