LogEventArgs.cs 371 B

1234567891011121314151617181920
  1. using System;
  2. namespace BepInEx.Logging
  3. {
  4. public class LogEventArgs : EventArgs
  5. {
  6. public object Data { get; protected set; }
  7. public LogLevel Level { get; protected set; }
  8. public ILogSource Source { get; protected set; }
  9. public LogEventArgs(object data, LogLevel level, ILogSource source)
  10. {
  11. Data = data;
  12. Level = level;
  13. Source = source;
  14. }
  15. }
  16. }