@@ -12,7 +12,9 @@ public static IServiceCollection AddSerilogServices(this IServiceCollection serv
12
12
13
13
public static IServiceCollection AddSerilogSeqServices ( this IServiceCollection services )
14
14
{
15
- Log . Logger = new LoggerConfiguration ( ) . MinimumLevel . Debug ( ) . CreateLogger ( ) ;
15
+ Log . Logger = new LoggerConfiguration ( )
16
+ . MinimumLevel . Debug ( )
17
+ . CreateLogger ( ) ;
16
18
17
19
services . AddTransient < ILoggerService , LoggerService > ( ) ;
18
20
@@ -208,6 +210,7 @@ public static IServiceCollection AddDbContextUseSQLite<TDbContext>(this IService
208
210
#endregion
209
211
210
212
#region "HEALTH CHECKS"
213
+ [ Obsolete ( "This method will be deprecated in future releases." , false ) ]
211
214
public static IServiceCollection AddMySqlHealthChecks ( this IServiceCollection services , string connectionString , string nameAsyncCheck )
212
215
{
213
216
services . AddHealthChecks ( )
@@ -229,6 +232,7 @@ public static IServiceCollection AddMySqlHealthChecks(this IServiceCollection se
229
232
return services ;
230
233
}
231
234
235
+ [ Obsolete ( "This method will be deprecated in future releases." , false ) ]
232
236
public static IServiceCollection AddPostgresHealthChecks ( this IServiceCollection services , string connectionString , string nameAsyncCheck )
233
237
{
234
238
services . AddHealthChecks ( )
@@ -250,6 +254,7 @@ public static IServiceCollection AddPostgresHealthChecks(this IServiceCollection
250
254
return services ;
251
255
}
252
256
257
+ [ Obsolete ( "This method will be deprecated in future releases." , false ) ]
253
258
public static IServiceCollection AddSqlServerHealthChecks ( this IServiceCollection services , string connectionString , string nameAsyncCheck )
254
259
{
255
260
services . AddHealthChecks ( )
@@ -271,6 +276,7 @@ public static IServiceCollection AddSqlServerHealthChecks(this IServiceCollectio
271
276
return services ;
272
277
}
273
278
279
+ [ Obsolete ( "This method will be deprecated in future releases." , false ) ]
274
280
public static IEndpointRouteBuilder AddDatabaseHealthChecks ( this IEndpointRouteBuilder builder , string pattern , bool allowAnonymous = false )
275
281
{
276
282
if ( ! allowAnonymous )
0 commit comments