static Log() { m_log = new ApplicationLog(); m_errorLog = new ApplicationLog(); StringBuilder pluginVersion = new StringBuilder(typeof(Log).Assembly.GetName( ).Version.ToString( )); m_log.Init(PLUGIN_PREFIX + "_Main.log", pluginVersion); m_errorLog.Init(PLUGIN_PREFIX + "_Error.log", pluginVersion); }
public Startup(IConfiguration configuration) { Configuration = configuration; ApplicationLog.Init(); }