Beispiel #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);
        }
Beispiel #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);
 }