Пример #1
0
 /// <summary>
 /// Log a message
 /// </summary>
 /// <param name="sender">
 /// The sender.
 /// </param>
 /// <param name="e">
 /// The MessageLoggedEventArgs.
 /// </param>
 private void HandBrakeInstanceMessageLogged(object sender, MessageLoggedEventArgs e)
 {
     if (this.loggingEnabled)
     {
         lock (logLock)
         {
             this.LogBuffer.AppendLine(e.Message);
         }
     }
 }
Пример #2
0
 /// <summary>
 /// Log a message
 /// </summary>
 /// <param name="sender">
 /// The sender.
 /// </param>
 /// <param name="e">
 /// The MessageLoggedEventArgs.
 /// </param>
 private void HandBrakeInstanceMessageLogged(object sender, MessageLoggedEventArgs e)
 {
     lock (LogLock)
     {
         this.logging.AppendLine(e.Message);
     }
 }
Пример #3
0
 /// <summary>
 /// Log a message
 /// </summary>
 /// <param name="sender">
 /// The sender.
 /// </param>
 /// <param name="e">
 /// The MessageLoggedEventArgs.
 /// </param>
 private void HandBrakeInstanceMessageLogged(object sender, MessageLoggedEventArgs e)
 {
     if (this.loggingEnabled)
     {
         lock (logLock)
         {
             this.ProcessLogMessage(e.Message);
         }
     }
 }