123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- using System;
- using System.Diagnostics.CodeAnalysis;
- namespace Wayne.Lib.Log
- {
-
-
-
- public interface IDebugLogger : IDisposable
- {
-
-
-
- bool IsActive();
-
-
-
- bool IsActive(object category);
-
-
-
- bool IsActive(DebugLogLevel debugLogLevel);
-
-
-
- bool IsActive(object category, DebugLogLevel debugLogLevel);
-
-
-
-
- [SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "obj")]
- void Add(object obj);
-
-
-
-
-
- [SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "obj")]
- void Add(object obj, DebugLogLevel level);
-
-
-
-
-
- [SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "obj")]
- void Add(object obj, object category);
-
-
-
-
-
-
- [SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "obj")]
- void Add(object obj, object category, DebugLogLevel level);
- }
- }
|