Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Commit 0ac062b

Browse files
committed
Aggiunto Obsolete Serilog service
1 parent 735344e commit 0ac062b

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

src/NET6CustomLibrary/Serilog/Services/ILoggerService.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@
22

33
public interface ILoggerService
44
{
5-
/// <summary>
6-
/// Abstraction of the objectResult of the statusCode
7-
/// </summary>
8-
/// <param name="message"></param>
9-
/// <param name="statusCode"></param>
10-
/// <param name="typeCode"></param>
11-
/// <param name="httpContext"></param>
12-
/// <returns></returns>
5+
[Obsolete("This method will be deprecated in future releases.", false)]
136
ErrorResponse ManageError(string message, int statusCode, int typeCode, HttpContext httpContext);
147

158
/// <summary>

src/NET6CustomLibrary/Serilog/Services/LoggerService.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,7 @@ public LoggerService(ILogger<LoggerService> logger)
1010
this.logger = logger;
1111
}
1212

13-
/// <summary>
14-
/// Abstraction of the objectResult of the statusCode
15-
/// </summary>
16-
/// <param name="message"></param>
17-
/// <param name="statusCode"></param>
18-
/// <param name="typeCode"></param>
19-
/// <param name="httpContext"></param>
20-
/// <returns></returns>
13+
[Obsolete("This method will be deprecated in future releases.", false)]
2114
public ErrorResponse ManageError(string message, int statusCode, int typeCode, HttpContext httpContext)
2215
{
2316
logger.LogWarning(message);

0 commit comments

Comments
 (0)