ln.skyscanner/Program.cs

52 lines
1.1 KiB
C#

// /**
// * File: Program.cs
// * Author: haraldwolff
// *
// * This file and it's content is copyrighted by the Author and / or copyright holder.
// * Any use wihtout proper permission is illegal and may lead to legal actions.
// *
// *
// **/
using System;
using System.Collections.Generic;
using ln.snmp;
using ln.logging;
using ln.skyscanner.entities;
using ln.types.threads;
using ln.types.net;
using ln.types.odb;
using ln.types.odb.index;
using ln.types.odb.values;
using ln.skyscanner.checks;
using System.Linq;
using ln.skyscanner.import.skytron;
namespace ln.skyscanner
{
class MainClass
{
public static void Main(string[] args)
{
FileLogger fileLogger = new FileLogger("skyscanner.log");
fileLogger.MaxLogLevel = LogLevel.INFO;
Logger.Default.Backends.Add(fileLogger);
Logger.ConsoleLogger.MaxLogLevel = LogLevel.INFO;
SkyScanner skyScanner = new SkyScanner();
Initialize();
skyScanner.Start(args);
}
private static void Initialize()
{
// SNMPEngine.DefaultEngine.Timeout = 3500;
}
}
}