SystemExt/Log/DebugLogger.cs
/// <summary>
/// Write a message to this logger.
/// </summary>
/// <param name="component">
/// The component which is logging this message.
/// </param>
/// <param name="message">
/// A message to write to the loggers.
/// </param>
Write a message to this logger.
Write a message to this logger .
public void Write(string component, string message)
        {
            var dateTime = this.IncludeDateTime ? DateTime.Now.ToString(Constants.LogDateTimeFormat) : string.Empty;
            Debug.WriteLine("{0}[{1}] {2}", dateTime, component, message);
        }
public void Write ( string component , string message ) { var dateTime = this . IncludeDateTime ? DateTime . Now . ToString ( Constants . LogDateTimeFormat ) : string . Empty ; Debug . WriteLine ( " " , dateTime , component , message ) ; }
Write a message to this logger.
Write a message to this logger .
component
string
The component which is logging this message.
The component which is logging this message .
message
string
A message to write to the loggers.
A message to write to the loggers .