| | | 1 | | using WireMock.Admin.Requests; |
| | | 2 | | |
| | | 3 | | namespace WireMock.Logging |
| | | 4 | | { |
| | | 5 | | /// <summary> |
| | | 6 | | /// WireMockNullLogger which does not log. |
| | | 7 | | /// </summary> |
| | | 8 | | /// <seealso cref="IWireMockLogger" /> |
| | | 9 | | public class WireMockNullLogger : IWireMockLogger |
| | | 10 | | { |
| | | 11 | | /// <see cref="IWireMockLogger.Debug"/> |
| | | 12 | | public void Debug(string formatString, params object[] args) |
| | 44 | 13 | | { |
| | | 14 | | // Log nothing |
| | 44 | 15 | | } |
| | | 16 | | |
| | | 17 | | /// <see cref="IWireMockLogger.Info"/> |
| | | 18 | | public void Info(string formatString, params object[] args) |
| | 95 | 19 | | { |
| | | 20 | | // Log nothing |
| | 95 | 21 | | } |
| | | 22 | | |
| | | 23 | | /// <see cref="IWireMockLogger.Warn"/> |
| | | 24 | | public void Warn(string formatString, params object[] args) |
| | 11 | 25 | | { |
| | | 26 | | // Log nothing |
| | 11 | 27 | | } |
| | | 28 | | |
| | | 29 | | /// <see cref="IWireMockLogger.Error"/> |
| | | 30 | | public void Error(string formatString, params object[] args) |
| | 0 | 31 | | { |
| | | 32 | | // Log nothing |
| | 0 | 33 | | } |
| | | 34 | | |
| | | 35 | | /// <see cref="IWireMockLogger.DebugRequestResponse"/> |
| | | 36 | | public void DebugRequestResponse(LogEntryModel logEntryModel, bool isAdminRequest) |
| | 46 | 37 | | { |
| | | 38 | | // Log nothing |
| | 46 | 39 | | } |
| | | 40 | | } |
| | | 41 | | } |