public void Trace(string msg) { if (Repository != null) { // Displays the message in the 'Script' tab of Enterprise Architect System Output Window Repository.WriteOutput("Script", msg, 0); } Console.WriteLine(msg); }
protected override void Write(LogEventInfo logEvent) { string message = logEvent.TimeStamp.ToString() + " [" + logEvent.Level + "] " + logEvent.Message; if (_repository != null) { _repository.WriteOutput(_logTabName, message, 0); } }