/// <summary> /// Here is the main API. Log message as indicated. Method will /// prepend date and time and append NewLine to message. /// </summary> /// <param name="message"></param> /// <param name="intent"></param> public void logEvent(String message, messageIntent intent, targetSStrip target) { if (intent == messageIntent.LogFileOnly) { logEvent(message, 0); //call the method that will } else if (intent == messageIntent.UserAndLogFile) { logEvent(message, 0); OnMessageEventLogged(message, target); } else if (intent == messageIntent.UserOnly) { OnMessageEventLogged(message, target); } }