1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace BestHTTP.Logger
- {
-
-
-
- public enum Loglevels : byte
- {
-
-
-
- All,
-
-
-
- Information,
-
-
-
- Warning,
-
-
-
- Error,
-
-
-
- Exception,
-
-
-
- None
- }
- public interface ILogger
- {
-
-
-
- Loglevels Level { get; set; }
- string FormatVerbose { get; set; }
- string FormatInfo { get; set; }
- string FormatWarn { get; set; }
- string FormatErr { get; set; }
- string FormatEx { get; set; }
- void Verbose(string division, string verb);
- void Information(string division, string info);
- void Warning(string division, string warn);
- void Error(string division, string err);
- void Exception(string division, string msg, Exception ex);
- }
- }
|