Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Hive.Client.Core/CoreApplication.cs @ 729

Last change on this file since 729 was 729, checked in by kgrading, 16 years ago

implemented a basic logger according to #335

File size: 675 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using HeuristicLab.PluginInfrastructure;
6using System.Diagnostics;
7using HeuristicLab.Hive.Client.Common;
8
9namespace HeuristicLab.Hive.Client.Core {
10  [ClassInfo(Name = "Hive Client Core", Description = "Hive Client Core baseclass", AutoRestart = true)]
11  public class CoreApplication: ApplicationBase {
12    public override void Run() {
13      Logging.getInstance().Info(this.Name, "Info Message");
14      Logging.getInstance().Error(this.Name, "Error Message");
15      Logging.getInstance().Error(this.Name, "Exception Message", new Exception("Exception"));
16    }
17  }
18}
Note: See TracBrowser for help on using the repository browser.