diff options
author | Atsushi Eno <atsushieno@veritas-vos-liberabit.com> | 2013-10-31 15:25:19 +0400 |
---|---|---|
committer | Atsushi Eno <atsushieno@veritas-vos-liberabit.com> | 2013-12-03 11:50:41 +0400 |
commit | b35862adb6392907e61326f24d4033b3e73dac0b (patch) | |
tree | 7d8c87a3bcbcd431f590cdae01f558456672823b /mcs/class/Microsoft.Build/Microsoft.Build.Logging | |
parent | ae34234c86b0a734eb30199daee4917d6dc08fcd (diff) |
sorted out logger stuff. Imported many of existing loggers from MS.Build.Engine. Stubbed some.
Diffstat (limited to 'mcs/class/Microsoft.Build/Microsoft.Build.Logging')
-rw-r--r-- | mcs/class/Microsoft.Build/Microsoft.Build.Logging/ConfigurableForwardingLogger.cs | 43 | ||||
-rw-r--r-- | mcs/class/Microsoft.Build/Microsoft.Build.Logging/DistributedFileLogger.cs | 44 |
2 files changed, 87 insertions, 0 deletions
diff --git a/mcs/class/Microsoft.Build/Microsoft.Build.Logging/ConfigurableForwardingLogger.cs b/mcs/class/Microsoft.Build/Microsoft.Build.Logging/ConfigurableForwardingLogger.cs new file mode 100644 index 00000000000..077a1bb4ef7 --- /dev/null +++ b/mcs/class/Microsoft.Build/Microsoft.Build.Logging/ConfigurableForwardingLogger.cs @@ -0,0 +1,43 @@ +using System; +using Microsoft.Build.Framework; + +namespace Microsoft.Build.Logging +{ + public class ConfigurableForwardingLogger : IForwardingLogger + { + #region INodeLogger implementation + + public void Initialize (IEventSource eventSource, int nodeCount) + { + Initialize (eventSource); + } + + #endregion + + #region ILogger implementation + + public void Initialize (IEventSource eventSource) + { + throw new NotImplementedException (); + } + + public void Shutdown () + { + throw new NotImplementedException (); + } + + public string Parameters { get; set; } + + public LoggerVerbosity Verbosity { get; set; } + + #endregion + + #region IForwardingLogger implementation + + public IEventRedirector BuildEventRedirector { get; set; } + + public int NodeId { get; set; } + + #endregion + } +} diff --git a/mcs/class/Microsoft.Build/Microsoft.Build.Logging/DistributedFileLogger.cs b/mcs/class/Microsoft.Build/Microsoft.Build.Logging/DistributedFileLogger.cs new file mode 100644 index 00000000000..2bfe1c9a0ba --- /dev/null +++ b/mcs/class/Microsoft.Build/Microsoft.Build.Logging/DistributedFileLogger.cs @@ -0,0 +1,44 @@ +using System; +using Microsoft.Build.Framework; + +namespace Microsoft.Build +{ + public class DistributedFileLogger : IForwardingLogger + { + #region INodeLogger implementation + + public void Initialize (IEventSource eventSource, int nodeCount) + { + throw new NotImplementedException (); + } + + #endregion + + #region ILogger implementation + + public void Initialize (IEventSource eventSource) + { + throw new NotImplementedException (); + } + + public void Shutdown () + { + throw new NotImplementedException (); + } + + public string Parameters { get; set; } + + public LoggerVerbosity Verbosity { get; set; } + + #endregion + + #region IForwardingLogger implementation + + public IEventRedirector BuildEventRedirector { get; set; } + + public int NodeId { get; set; } + + #endregion + } +} + |