Exemple #1
0
        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);
        }
Exemple #2
0
 public Startup(IConfiguration configuration)
 {
     Configuration = configuration;
     ApplicationLog.Init();
 }