Esempio n. 1
0
        private void ConfigureLogging()
        {
            var layout = new NLog.Layouts.SimpleLayout("${longdate}:${message}");
            var target = new MsBuildNLogTarget(Log)
            {
                Layout = layout, Name = MigratorLogManager.LOGGER_NAME
            };

            MigratorLogManager.SetNLogTarget(target);
        }
Esempio n. 2
0
 private void ConfigureLogging()
 {
     var layout = new NLog.Layouts.SimpleLayout("${longdate}:${message}");
     var target = new MsBuildNLogTarget(Log) { Layout = layout, Name = MigratorLogManager.LOGGER_NAME };
     MigratorLogManager.SetNLogTarget(target);
 }