ILogEngine.cs 384 B

1234567891011121314
  1. using System.Diagnostics;
  2. namespace WingServerCommon.Log
  3. {
  4. public interface ILogEngine
  5. {
  6. /// <summary>
  7. /// Write the log
  8. /// </summary>
  9. /// <param name="level">Log's level see <see cref="TraceLevel"/></param>
  10. /// <param name="msg">The message to write</param>
  11. void Write(TraceLevel level, string msg);
  12. }
  13. }