@tsonic/microsoft-extensions 0.1.2 → 10.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.Extensions.Caching.Distributed/bindings.json +317 -543
- package/Microsoft.Extensions.Caching.Distributed/internal/index.d.ts +38 -38
- package/Microsoft.Extensions.Caching.Hybrid/bindings.json +146 -327
- package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +26 -26
- package/Microsoft.Extensions.Caching.Memory/bindings.json +581 -1255
- package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +88 -88
- package/Microsoft.Extensions.Configuration/bindings.json +1738 -3009
- package/Microsoft.Extensions.Configuration/internal/index.d.ts +195 -195
- package/Microsoft.Extensions.Configuration.CommandLine/bindings.json +108 -199
- package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +9 -9
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/bindings.json +109 -198
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +9 -9
- package/Microsoft.Extensions.Configuration.Ini/bindings.json +211 -511
- package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +15 -15
- package/Microsoft.Extensions.Configuration.Json/bindings.json +205 -500
- package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +14 -14
- package/Microsoft.Extensions.Configuration.KeyPerFile/bindings.json +145 -266
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +16 -16
- package/Microsoft.Extensions.Configuration.Memory/bindings.json +115 -210
- package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +10 -10
- package/Microsoft.Extensions.Configuration.UserSecrets/bindings.json +26 -50
- package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.Configuration.Xml/bindings.json +225 -539
- package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +17 -17
- package/Microsoft.Extensions.DependencyInjection/bindings.json +1880 -3222
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +241 -241
- package/Microsoft.Extensions.DependencyInjection.Extensions/bindings.json +268 -477
- package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +43 -43
- package/Microsoft.Extensions.Diagnostics.HealthChecks/bindings.json +250 -568
- package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +37 -37
- package/Microsoft.Extensions.Diagnostics.Metrics/bindings.json +270 -494
- package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +44 -44
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/bindings.json +16 -15
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.FileProviders/bindings.json +519 -991
- package/Microsoft.Extensions.FileProviders/internal/index.d.ts +46 -46
- package/Microsoft.Extensions.FileProviders.Composite/bindings.json +26 -49
- package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.FileProviders.Embedded/bindings.json +89 -171
- package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +7 -7
- package/Microsoft.Extensions.FileProviders.Internal/bindings.json +26 -58
- package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.FileProviders.Physical/bindings.json +296 -634
- package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +27 -27
- package/Microsoft.Extensions.FileSystemGlobbing/bindings.json +171 -355
- package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +23 -23
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/bindings.json +123 -280
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +15 -15
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/bindings.json +158 -268
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +20 -20
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/bindings.json +191 -384
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +17 -17
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/bindings.json +591 -1070
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +50 -50
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/bindings.json +20 -47
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.Hosting/bindings.json +936 -1742
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +120 -120
- package/Microsoft.Extensions.Hosting.Internal/bindings.json +200 -386
- package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +13 -13
- package/Microsoft.Extensions.Http/bindings.json +93 -160
- package/Microsoft.Extensions.Http/internal/index.d.ts +12 -12
- package/Microsoft.Extensions.Http.Logging/bindings.json +83 -149
- package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +9 -9
- package/Microsoft.Extensions.Internal/bindings.json +32 -51
- package/Microsoft.Extensions.Internal/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.Localization/bindings.json +294 -531
- package/Microsoft.Extensions.Localization/internal/index.d.ts +21 -21
- package/Microsoft.Extensions.Logging/bindings.json +1141 -2182
- package/Microsoft.Extensions.Logging/internal/index.d.ts +162 -162
- package/Microsoft.Extensions.Logging.Abstractions/bindings.json +285 -526
- package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +32 -32
- package/Microsoft.Extensions.Logging.Configuration/bindings.json +80 -110
- package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +5 -5
- package/Microsoft.Extensions.Logging.Console/bindings.json +350 -830
- package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +48 -48
- package/Microsoft.Extensions.Logging.Debug/bindings.json +29 -48
- package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.Logging.EventLog/bindings.json +69 -147
- package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +11 -11
- package/Microsoft.Extensions.Logging.EventSource/bindings.json +46 -97
- package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +6 -6
- package/Microsoft.Extensions.Logging.TraceSource/bindings.json +29 -57
- package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.ObjectPool/bindings.json +319 -558
- package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +25 -25
- package/Microsoft.Extensions.Options/bindings.json +1780 -3480
- package/Microsoft.Extensions.Options/internal/index.d.ts +206 -206
- package/Microsoft.Extensions.Primitives/bindings.json +635 -1246
- package/Microsoft.Extensions.Primitives/internal/index.d.ts +91 -91
- package/Microsoft.Extensions.Validation/bindings.json +196 -336
- package/Microsoft.Extensions.Validation/internal/index.d.ts +21 -21
- package/Microsoft.Extensions.WebEncoders/bindings.json +14 -25
- package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.WebEncoders.Testing/bindings.json +144 -279
- package/Microsoft.Extensions.WebEncoders.Testing/internal/index.d.ts +21 -21
- package/System.Diagnostics/bindings.json +560 -1240
- package/System.Diagnostics/internal/index.d.ts +94 -94
- package/System.Diagnostics.Eventing.Reader/bindings.json +1155 -2972
- package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +204 -204
- package/System.Net.Http/bindings.json +56 -60
- package/System.Net.Http/internal/index.d.ts +4 -4
- package/System.Security.Cryptography/bindings.json +101 -208
- package/System.Security.Cryptography/internal/index.d.ts +14 -14
- package/System.Security.Cryptography.Pkcs/bindings.json +1662 -4005
- package/System.Security.Cryptography.Pkcs/internal/index.d.ts +259 -259
- package/System.Security.Cryptography.Xml/bindings.json +1963 -5427
- package/System.Security.Cryptography.Xml/internal/index.d.ts +338 -338
- package/__build/scripts/generate.sh +4 -4
- package/__internal/extensions/index.d.ts +426 -426
- package/package.json +3 -3
- package/Microsoft.Extensions.Caching.Distributed/internal/metadata.json +0 -835
- package/Microsoft.Extensions.Caching.Hybrid/internal/metadata.json +0 -476
- package/Microsoft.Extensions.Caching.Memory/internal/metadata.json +0 -1740
- package/Microsoft.Extensions.Configuration/internal/metadata.json +0 -4603
- package/Microsoft.Extensions.Configuration.CommandLine/internal/metadata.json +0 -295
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/metadata.json +0 -301
- package/Microsoft.Extensions.Configuration.Ini/internal/metadata.json +0 -568
- package/Microsoft.Extensions.Configuration.Json/internal/metadata.json +0 -552
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/metadata.json +0 -402
- package/Microsoft.Extensions.Configuration.Memory/internal/metadata.json +0 -312
- package/Microsoft.Extensions.Configuration.UserSecrets/internal/metadata.json +0 -85
- package/Microsoft.Extensions.Configuration.Xml/internal/metadata.json +0 -611
- package/Microsoft.Extensions.DependencyInjection/internal/metadata.json +0 -4903
- package/Microsoft.Extensions.DependencyInjection.Extensions/internal/metadata.json +0 -713
- package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/metadata.json +0 -802
- package/Microsoft.Extensions.Diagnostics.Metrics/internal/metadata.json +0 -785
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/metadata.json +0 -41
- package/Microsoft.Extensions.FileProviders/internal/metadata.json +0 -1423
- package/Microsoft.Extensions.FileProviders.Composite/internal/metadata.json +0 -79
- package/Microsoft.Extensions.FileProviders.Embedded/internal/metadata.json +0 -251
- package/Microsoft.Extensions.FileProviders.Internal/internal/metadata.json +0 -84
- package/Microsoft.Extensions.FileProviders.Physical/internal/metadata.json +0 -879
- package/Microsoft.Extensions.FileSystemGlobbing/internal/metadata.json +0 -511
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/metadata.json +0 -352
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/metadata.json +0 -443
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/metadata.json +0 -550
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/metadata.json +0 -1527
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/metadata.json +0 -68
- package/Microsoft.Extensions.Hosting/internal/metadata.json +0 -2577
- package/Microsoft.Extensions.Hosting.Internal/internal/metadata.json +0 -559
- package/Microsoft.Extensions.Http/internal/metadata.json +0 -266
- package/Microsoft.Extensions.Http.Logging/internal/metadata.json +0 -240
- package/Microsoft.Extensions.Internal/internal/metadata.json +0 -94
- package/Microsoft.Extensions.Localization/internal/metadata.json +0 -831
- package/Microsoft.Extensions.Logging/internal/metadata.json +0 -3222
- package/Microsoft.Extensions.Logging.Abstractions/internal/metadata.json +0 -782
- package/Microsoft.Extensions.Logging.Configuration/internal/metadata.json +0 -212
- package/Microsoft.Extensions.Logging.Console/internal/metadata.json +0 -1119
- package/Microsoft.Extensions.Logging.Debug/internal/metadata.json +0 -80
- package/Microsoft.Extensions.Logging.EventLog/internal/metadata.json +0 -206
- package/Microsoft.Extensions.Logging.EventSource/internal/metadata.json +0 -149
- package/Microsoft.Extensions.Logging.TraceSource/internal/metadata.json +0 -85
- package/Microsoft.Extensions.ObjectPool/internal/metadata.json +0 -867
- package/Microsoft.Extensions.Options/internal/metadata.json +0 -4965
- package/Microsoft.Extensions.Primitives/internal/metadata.json +0 -1830
- package/Microsoft.Extensions.Validation/internal/metadata.json +0 -577
- package/Microsoft.Extensions.WebEncoders/internal/metadata.json +0 -46
- package/Microsoft.Extensions.WebEncoders.Testing/internal/metadata.json +0 -431
- package/System.Diagnostics/internal/metadata.json +0 -1694
- package/System.Diagnostics.Eventing.Reader/internal/metadata.json +0 -3706
- package/System.Net.Http/internal/metadata.json +0 -141
- package/System.Security.Cryptography/internal/metadata.json +0 -302
- package/System.Security.Cryptography.Pkcs/internal/metadata.json +0 -5125
- package/System.Security.Cryptography.Xml/internal/metadata.json +0 -5727
|
@@ -17,49 +17,49 @@ import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
|
17
17
|
import type { Action, Attribute, Boolean as ClrBoolean, Enum, Exception, Func, IComparable, IConvertible, IDisposable, IEquatable, IFormattable, Int32, ISpanFormattable, Nullable, Object as ClrObject, String as ClrString, Type, ValueType, Void } from "@tsonic/dotnet/System.js";
|
|
18
18
|
|
|
19
19
|
export enum ActivityTrackingOptions {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
None = 0,
|
|
21
|
+
SpanId = 1,
|
|
22
|
+
TraceId = 2,
|
|
23
|
+
ParentId = 4,
|
|
24
|
+
TraceState = 8,
|
|
25
|
+
TraceFlags = 16,
|
|
26
|
+
Tags = 32,
|
|
27
|
+
Baggage = 64
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
export enum LogLevel {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
32
|
+
Trace = 0,
|
|
33
|
+
Debug = 1,
|
|
34
|
+
Information = 2,
|
|
35
|
+
Warning = 3,
|
|
36
|
+
Error = 4,
|
|
37
|
+
Critical = 5,
|
|
38
|
+
None = 6
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
export interface IExternalScopeProvider$instance {
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
ForEachScope<TState>(callback: Action<unknown, TState>, state: TState): void;
|
|
44
|
+
Push(state: unknown): IDisposable;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
export type IExternalScopeProvider = IExternalScopeProvider$instance;
|
|
49
49
|
|
|
50
50
|
export interface ILogger$instance {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
BeginScope<TState>(state: TState): IDisposable;
|
|
52
|
+
IsEnabled(logLevel: LogLevel): boolean;
|
|
53
|
+
Log<TState>(logLevel: LogLevel, eventId: EventId, state: TState, exception: Exception, formatter: Func<TState, Exception, System_Internal.String>): void;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
export type ILogger = ILogger$instance;
|
|
58
58
|
|
|
59
59
|
export interface ILogger_1$instance<TCategoryName> extends ILogger {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
BeginScope<TState>(state: TState): IDisposable;
|
|
61
|
+
IsEnabled(logLevel: LogLevel): boolean;
|
|
62
|
+
Log<TState>(logLevel: LogLevel, eventId: EventId, state: TState, exception: Exception, formatter: Func<TState, Exception, System_Internal.String>): void;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
|
|
@@ -68,41 +68,41 @@ export interface ILogger_1$instance<TCategoryName> extends ILogger$instance {}
|
|
|
68
68
|
export type ILogger_1<TCategoryName> = ILogger_1$instance<TCategoryName>;
|
|
69
69
|
|
|
70
70
|
export interface ILoggerFactory$instance extends IDisposable {
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
AddProvider(provider: ILoggerProvider): void;
|
|
72
|
+
CreateLogger(categoryName: string): ILogger;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
export type ILoggerFactory = ILoggerFactory$instance;
|
|
77
77
|
|
|
78
78
|
export interface ILoggerProvider$instance extends IDisposable {
|
|
79
|
-
|
|
79
|
+
CreateLogger(categoryName: string): ILogger;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
export type ILoggerProvider = ILoggerProvider$instance;
|
|
84
84
|
|
|
85
85
|
export interface ILoggingBuilder$instance {
|
|
86
|
-
readonly
|
|
86
|
+
readonly Services: IServiceCollection;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
export type ILoggingBuilder = ILoggingBuilder$instance;
|
|
91
91
|
|
|
92
92
|
export interface ISupportExternalScope$instance {
|
|
93
|
-
|
|
93
|
+
SetScopeProvider(scopeProvider: IExternalScopeProvider): void;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
export type ISupportExternalScope = ISupportExternalScope$instance;
|
|
98
98
|
|
|
99
99
|
export interface EventId$instance {
|
|
100
|
-
readonly
|
|
101
|
-
readonly
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
100
|
+
readonly Id: int;
|
|
101
|
+
readonly Name: string;
|
|
102
|
+
Equals(other: EventId): boolean;
|
|
103
|
+
Equals(obj: unknown): boolean;
|
|
104
|
+
GetHashCode(): int;
|
|
105
|
+
ToString(): string;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
|
|
@@ -114,7 +114,7 @@ export const EventId: {
|
|
|
114
114
|
export type EventId = EventId$instance;
|
|
115
115
|
|
|
116
116
|
export interface LogDefineOptions$instance {
|
|
117
|
-
|
|
117
|
+
SkipEnabledCheck: boolean;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
|
|
@@ -144,8 +144,8 @@ export type Logger_1<T> = Logger_1$instance<T> & __Logger_1$views<T>;
|
|
|
144
144
|
|
|
145
145
|
|
|
146
146
|
export interface LoggerExternalScopeProvider$instance {
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
ForEachScope<TState>(callback: Action<unknown, TState>, state: TState): void;
|
|
148
|
+
Push(state: unknown): IDisposable;
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
|
|
@@ -164,9 +164,9 @@ export type LoggerExternalScopeProvider = LoggerExternalScopeProvider$instance &
|
|
|
164
164
|
|
|
165
165
|
|
|
166
166
|
export interface LoggerFactory$instance {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
167
|
+
AddProvider(provider: ILoggerProvider): void;
|
|
168
|
+
CreateLogger(categoryName: string): ILogger;
|
|
169
|
+
Dispose(): void;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
|
|
@@ -177,7 +177,7 @@ export const LoggerFactory: {
|
|
|
177
177
|
new(providers: IEnumerable<ILoggerProvider>, filterOption: IOptionsMonitor_1<LoggerFilterOptions>): LoggerFactory;
|
|
178
178
|
new(providers: IEnumerable<ILoggerProvider>, filterOption: IOptionsMonitor_1<LoggerFilterOptions>, options: IOptions_1<LoggerFactoryOptions>): LoggerFactory;
|
|
179
179
|
new(providers: IEnumerable<ILoggerProvider>, filterOption: IOptionsMonitor_1<LoggerFilterOptions>, options: IOptions_1<LoggerFactoryOptions>, scopeProvider: IExternalScopeProvider): LoggerFactory;
|
|
180
|
-
|
|
180
|
+
Create(configure: Action<ILoggingBuilder>): ILoggerFactory;
|
|
181
181
|
};
|
|
182
182
|
|
|
183
183
|
|
|
@@ -191,7 +191,7 @@ export type LoggerFactory = LoggerFactory$instance & __LoggerFactory$views;
|
|
|
191
191
|
|
|
192
192
|
|
|
193
193
|
export interface LoggerFactoryOptions$instance {
|
|
194
|
-
|
|
194
|
+
ActivityTrackingOptions: ActivityTrackingOptions;
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
|
|
@@ -203,9 +203,9 @@ export const LoggerFactoryOptions: {
|
|
|
203
203
|
export type LoggerFactoryOptions = LoggerFactoryOptions$instance;
|
|
204
204
|
|
|
205
205
|
export interface LoggerFilterOptions$instance {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
readonly
|
|
206
|
+
CaptureScopes: boolean;
|
|
207
|
+
MinLevel: LogLevel;
|
|
208
|
+
readonly Rules: IList<LoggerFilterRule>;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
|
|
@@ -217,11 +217,11 @@ export const LoggerFilterOptions: {
|
|
|
217
217
|
export type LoggerFilterOptions = LoggerFilterOptions$instance;
|
|
218
218
|
|
|
219
219
|
export interface LoggerFilterRule$instance {
|
|
220
|
-
readonly
|
|
221
|
-
readonly
|
|
222
|
-
readonly
|
|
223
|
-
readonly
|
|
224
|
-
|
|
220
|
+
readonly CategoryName: string | undefined;
|
|
221
|
+
readonly Filter: Func<string | undefined, string | undefined, LogLevel, System_Internal.Boolean> | undefined;
|
|
222
|
+
readonly LogLevel: Nullable<LogLevel>;
|
|
223
|
+
readonly ProviderName: string | undefined;
|
|
224
|
+
ToString(): string;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
|
|
@@ -233,12 +233,12 @@ export const LoggerFilterRule: {
|
|
|
233
233
|
export type LoggerFilterRule = LoggerFilterRule$instance;
|
|
234
234
|
|
|
235
235
|
export interface LoggerMessageAttribute$instance extends Attribute {
|
|
236
|
-
|
|
237
|
-
get
|
|
238
|
-
set
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
236
|
+
EventId: int;
|
|
237
|
+
get EventName(): string | undefined;
|
|
238
|
+
set EventName(value: string);
|
|
239
|
+
Level: LogLevel;
|
|
240
|
+
Message: string;
|
|
241
|
+
SkipEnabledCheck: boolean;
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
|
|
@@ -254,7 +254,7 @@ export const LoggerMessageAttribute: {
|
|
|
254
254
|
export type LoggerMessageAttribute = LoggerMessageAttribute$instance;
|
|
255
255
|
|
|
256
256
|
export interface ProviderAliasAttribute$instance extends Attribute {
|
|
257
|
-
readonly
|
|
257
|
+
readonly Alias: string;
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
|
|
@@ -266,171 +266,171 @@ export const ProviderAliasAttribute: {
|
|
|
266
266
|
export type ProviderAliasAttribute = ProviderAliasAttribute$instance;
|
|
267
267
|
|
|
268
268
|
export abstract class ConsoleLoggerExtensions$instance {
|
|
269
|
-
static
|
|
270
|
-
static
|
|
271
|
-
static
|
|
272
|
-
static
|
|
273
|
-
static
|
|
274
|
-
static
|
|
275
|
-
static
|
|
276
|
-
static
|
|
277
|
-
static
|
|
278
|
-
static
|
|
279
|
-
static
|
|
280
|
-
static
|
|
281
|
-
static
|
|
282
|
-
static
|
|
283
|
-
static
|
|
284
|
-
static
|
|
285
|
-
static
|
|
286
|
-
static
|
|
269
|
+
static AddConsole(factory: ILoggerFactory, configuration: IConfiguration): ILoggerFactory;
|
|
270
|
+
static AddConsole(factory: ILoggerFactory, settings: IConsoleLoggerSettings): ILoggerFactory;
|
|
271
|
+
static AddConsole(factory: ILoggerFactory, minLevel: LogLevel, includeScopes: boolean): ILoggerFactory;
|
|
272
|
+
static AddConsole(factory: ILoggerFactory, minLevel: LogLevel): ILoggerFactory;
|
|
273
|
+
static AddConsole(factory: ILoggerFactory, includeScopes: boolean): ILoggerFactory;
|
|
274
|
+
static AddConsole(factory: ILoggerFactory, filter: Func<System_Internal.String, LogLevel, System_Internal.Boolean>, includeScopes: boolean): ILoggerFactory;
|
|
275
|
+
static AddConsole(factory: ILoggerFactory, filter: Func<System_Internal.String, LogLevel, System_Internal.Boolean>): ILoggerFactory;
|
|
276
|
+
static AddConsole(factory: ILoggerFactory): ILoggerFactory;
|
|
277
|
+
static AddConsole(builder: ILoggingBuilder, configure: Action<ConsoleLoggerOptions>): ILoggingBuilder;
|
|
278
|
+
static AddConsole(builder: ILoggingBuilder): ILoggingBuilder;
|
|
279
|
+
static AddConsoleFormatter<TFormatter extends ConsoleFormatter, TOptions extends ConsoleFormatterOptions>(builder: ILoggingBuilder, configure: Action<TOptions>): ILoggingBuilder;
|
|
280
|
+
static AddConsoleFormatter<TFormatter extends ConsoleFormatter, TOptions extends ConsoleFormatterOptions>(builder: ILoggingBuilder): ILoggingBuilder;
|
|
281
|
+
static AddJsonConsole(builder: ILoggingBuilder, configure: Action<JsonConsoleFormatterOptions>): ILoggingBuilder;
|
|
282
|
+
static AddJsonConsole(builder: ILoggingBuilder): ILoggingBuilder;
|
|
283
|
+
static AddSimpleConsole(builder: ILoggingBuilder, configure: Action<SimpleConsoleFormatterOptions>): ILoggingBuilder;
|
|
284
|
+
static AddSimpleConsole(builder: ILoggingBuilder): ILoggingBuilder;
|
|
285
|
+
static AddSystemdConsole(builder: ILoggingBuilder, configure: Action<ConsoleFormatterOptions>): ILoggingBuilder;
|
|
286
|
+
static AddSystemdConsole(builder: ILoggingBuilder): ILoggingBuilder;
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
|
|
290
290
|
export type ConsoleLoggerExtensions = ConsoleLoggerExtensions$instance;
|
|
291
291
|
|
|
292
292
|
export abstract class DebugLoggerFactoryExtensions$instance {
|
|
293
|
-
static
|
|
294
|
-
static
|
|
295
|
-
static
|
|
296
|
-
static
|
|
293
|
+
static AddDebug(factory: ILoggerFactory, minLevel: LogLevel): ILoggerFactory;
|
|
294
|
+
static AddDebug(factory: ILoggerFactory, filter: Func<System_Internal.String, LogLevel, System_Internal.Boolean>): ILoggerFactory;
|
|
295
|
+
static AddDebug(factory: ILoggerFactory): ILoggerFactory;
|
|
296
|
+
static AddDebug(builder: ILoggingBuilder): ILoggingBuilder;
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
|
|
300
300
|
export type DebugLoggerFactoryExtensions = DebugLoggerFactoryExtensions$instance;
|
|
301
301
|
|
|
302
302
|
export abstract class EventLoggerFactoryExtensions$instance {
|
|
303
|
-
static
|
|
304
|
-
static
|
|
305
|
-
static
|
|
306
|
-
static
|
|
307
|
-
static
|
|
308
|
-
static
|
|
303
|
+
static AddEventLog(factory: ILoggerFactory, settings: EventLogSettings): ILoggerFactory;
|
|
304
|
+
static AddEventLog(factory: ILoggerFactory, minLevel: LogLevel): ILoggerFactory;
|
|
305
|
+
static AddEventLog(factory: ILoggerFactory): ILoggerFactory;
|
|
306
|
+
static AddEventLog(builder: ILoggingBuilder, settings: EventLogSettings): ILoggingBuilder;
|
|
307
|
+
static AddEventLog(builder: ILoggingBuilder, configure: Action<EventLogSettings>): ILoggingBuilder;
|
|
308
|
+
static AddEventLog(builder: ILoggingBuilder): ILoggingBuilder;
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
|
|
312
312
|
export type EventLoggerFactoryExtensions = EventLoggerFactoryExtensions$instance;
|
|
313
313
|
|
|
314
314
|
export abstract class EventSourceLoggerFactoryExtensions$instance {
|
|
315
|
-
static
|
|
316
|
-
static
|
|
315
|
+
static AddEventSourceLogger(factory: ILoggerFactory): ILoggerFactory;
|
|
316
|
+
static AddEventSourceLogger(builder: ILoggingBuilder): ILoggingBuilder;
|
|
317
317
|
}
|
|
318
318
|
|
|
319
319
|
|
|
320
320
|
export type EventSourceLoggerFactoryExtensions = EventSourceLoggerFactoryExtensions$instance;
|
|
321
321
|
|
|
322
322
|
export abstract class FilterLoggingBuilderExtensions$instance {
|
|
323
|
-
static
|
|
324
|
-
static
|
|
325
|
-
static
|
|
326
|
-
static
|
|
327
|
-
static
|
|
328
|
-
static
|
|
329
|
-
static
|
|
330
|
-
static
|
|
331
|
-
static
|
|
332
|
-
static
|
|
323
|
+
static AddFilter(builder: ILoggingBuilder, levelFilter: Func<LogLevel, System_Internal.Boolean>): ILoggingBuilder;
|
|
324
|
+
static AddFilter(builder: ILoggingBuilder, categoryLevelFilter: Func<System_Internal.String, LogLevel, System_Internal.Boolean>): ILoggingBuilder;
|
|
325
|
+
static AddFilter(builder: ILoggingBuilder, filter: Func<System_Internal.String, System_Internal.String, LogLevel, System_Internal.Boolean>): ILoggingBuilder;
|
|
326
|
+
static AddFilter(builder: ILoggingBuilder, category: string, level: LogLevel): ILoggingBuilder;
|
|
327
|
+
static AddFilter(builder: ILoggingBuilder, category: string, levelFilter: Func<LogLevel, System_Internal.Boolean>): ILoggingBuilder;
|
|
328
|
+
static AddFilter(builder: LoggerFilterOptions, levelFilter: Func<LogLevel, System_Internal.Boolean>): LoggerFilterOptions;
|
|
329
|
+
static AddFilter(builder: LoggerFilterOptions, categoryLevelFilter: Func<System_Internal.String, LogLevel, System_Internal.Boolean>): LoggerFilterOptions;
|
|
330
|
+
static AddFilter(builder: LoggerFilterOptions, filter: Func<System_Internal.String, System_Internal.String, LogLevel, System_Internal.Boolean>): LoggerFilterOptions;
|
|
331
|
+
static AddFilter(builder: LoggerFilterOptions, category: string, level: LogLevel): LoggerFilterOptions;
|
|
332
|
+
static AddFilter(builder: LoggerFilterOptions, category: string, levelFilter: Func<LogLevel, System_Internal.Boolean>): LoggerFilterOptions;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
|
|
336
336
|
export type FilterLoggingBuilderExtensions = FilterLoggingBuilderExtensions$instance;
|
|
337
337
|
|
|
338
338
|
export abstract class LoggerExtensions$instance {
|
|
339
|
-
static
|
|
340
|
-
static
|
|
341
|
-
static
|
|
342
|
-
static
|
|
343
|
-
static
|
|
344
|
-
static
|
|
345
|
-
static
|
|
346
|
-
static
|
|
347
|
-
static
|
|
348
|
-
static
|
|
349
|
-
static
|
|
350
|
-
static
|
|
351
|
-
static
|
|
352
|
-
static
|
|
353
|
-
static
|
|
354
|
-
static
|
|
355
|
-
static
|
|
356
|
-
static
|
|
357
|
-
static
|
|
358
|
-
static
|
|
359
|
-
static
|
|
360
|
-
static
|
|
361
|
-
static
|
|
362
|
-
static
|
|
363
|
-
static
|
|
364
|
-
static
|
|
365
|
-
static
|
|
366
|
-
static
|
|
367
|
-
static
|
|
339
|
+
static BeginScope(logger: ILogger, messageFormat: string, ...args: unknown[]): IDisposable | undefined;
|
|
340
|
+
static Log(logger: ILogger, logLevel: LogLevel, eventId: EventId, exception: Exception, message: string, ...args: unknown[]): void;
|
|
341
|
+
static Log(logger: ILogger, logLevel: LogLevel, eventId: EventId, message: string, ...args: unknown[]): void;
|
|
342
|
+
static Log(logger: ILogger, logLevel: LogLevel, exception: Exception, message: string, ...args: unknown[]): void;
|
|
343
|
+
static Log(logger: ILogger, logLevel: LogLevel, message: string, ...args: unknown[]): void;
|
|
344
|
+
static LogCritical(logger: ILogger, eventId: EventId, exception: Exception, message: string, ...args: unknown[]): void;
|
|
345
|
+
static LogCritical(logger: ILogger, eventId: EventId, message: string, ...args: unknown[]): void;
|
|
346
|
+
static LogCritical(logger: ILogger, exception: Exception, message: string, ...args: unknown[]): void;
|
|
347
|
+
static LogCritical(logger: ILogger, message: string, ...args: unknown[]): void;
|
|
348
|
+
static LogDebug(logger: ILogger, eventId: EventId, exception: Exception, message: string, ...args: unknown[]): void;
|
|
349
|
+
static LogDebug(logger: ILogger, eventId: EventId, message: string, ...args: unknown[]): void;
|
|
350
|
+
static LogDebug(logger: ILogger, exception: Exception, message: string, ...args: unknown[]): void;
|
|
351
|
+
static LogDebug(logger: ILogger, message: string, ...args: unknown[]): void;
|
|
352
|
+
static LogError(logger: ILogger, eventId: EventId, exception: Exception, message: string, ...args: unknown[]): void;
|
|
353
|
+
static LogError(logger: ILogger, eventId: EventId, message: string, ...args: unknown[]): void;
|
|
354
|
+
static LogError(logger: ILogger, exception: Exception, message: string, ...args: unknown[]): void;
|
|
355
|
+
static LogError(logger: ILogger, message: string, ...args: unknown[]): void;
|
|
356
|
+
static LogInformation(logger: ILogger, eventId: EventId, exception: Exception, message: string, ...args: unknown[]): void;
|
|
357
|
+
static LogInformation(logger: ILogger, eventId: EventId, message: string, ...args: unknown[]): void;
|
|
358
|
+
static LogInformation(logger: ILogger, exception: Exception, message: string, ...args: unknown[]): void;
|
|
359
|
+
static LogInformation(logger: ILogger, message: string, ...args: unknown[]): void;
|
|
360
|
+
static LogTrace(logger: ILogger, eventId: EventId, exception: Exception, message: string, ...args: unknown[]): void;
|
|
361
|
+
static LogTrace(logger: ILogger, eventId: EventId, message: string, ...args: unknown[]): void;
|
|
362
|
+
static LogTrace(logger: ILogger, exception: Exception, message: string, ...args: unknown[]): void;
|
|
363
|
+
static LogTrace(logger: ILogger, message: string, ...args: unknown[]): void;
|
|
364
|
+
static LogWarning(logger: ILogger, eventId: EventId, exception: Exception, message: string, ...args: unknown[]): void;
|
|
365
|
+
static LogWarning(logger: ILogger, eventId: EventId, message: string, ...args: unknown[]): void;
|
|
366
|
+
static LogWarning(logger: ILogger, exception: Exception, message: string, ...args: unknown[]): void;
|
|
367
|
+
static LogWarning(logger: ILogger, message: string, ...args: unknown[]): void;
|
|
368
368
|
}
|
|
369
369
|
|
|
370
370
|
|
|
371
371
|
export type LoggerExtensions = LoggerExtensions$instance;
|
|
372
372
|
|
|
373
373
|
export abstract class LoggerFactoryExtensions$instance {
|
|
374
|
-
static
|
|
375
|
-
static
|
|
374
|
+
static CreateLogger(factory: ILoggerFactory, type: Type): ILogger;
|
|
375
|
+
static CreateLogger<T>(factory: ILoggerFactory): ILogger_1<T>;
|
|
376
376
|
}
|
|
377
377
|
|
|
378
378
|
|
|
379
379
|
export type LoggerFactoryExtensions = LoggerFactoryExtensions$instance;
|
|
380
380
|
|
|
381
381
|
export abstract class LoggerMessage$instance {
|
|
382
|
-
static
|
|
383
|
-
static
|
|
384
|
-
static
|
|
385
|
-
static
|
|
386
|
-
static
|
|
387
|
-
static
|
|
388
|
-
static
|
|
389
|
-
static
|
|
390
|
-
static
|
|
391
|
-
static
|
|
392
|
-
static
|
|
393
|
-
static
|
|
394
|
-
static
|
|
395
|
-
static
|
|
396
|
-
static
|
|
397
|
-
static
|
|
398
|
-
static
|
|
399
|
-
static
|
|
400
|
-
static
|
|
401
|
-
static
|
|
402
|
-
static
|
|
382
|
+
static Define<T1>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action<ILogger, T1, Exception | undefined>;
|
|
383
|
+
static Define<T1, T2>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action<ILogger, T1, T2, Exception | undefined>;
|
|
384
|
+
static Define<T1, T2, T3>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action<ILogger, T1, T2, T3, Exception | undefined>;
|
|
385
|
+
static Define<T1, T2, T3, T4>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action<ILogger, T1, T2, T3, T4, Exception | undefined>;
|
|
386
|
+
static Define<T1, T2, T3, T4, T5>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action<ILogger, T1, T2, T3, T4, T5, Exception | undefined>;
|
|
387
|
+
static Define<T1, T2, T3, T4, T5, T6>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action<ILogger, T1, T2, T3, T4, T5, T6, Exception | undefined>;
|
|
388
|
+
static Define(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action<ILogger, Exception | undefined>;
|
|
389
|
+
static Define<T1>(logLevel: LogLevel, eventId: EventId, formatString: string): Action<ILogger, T1, Exception | undefined>;
|
|
390
|
+
static Define<T1, T2>(logLevel: LogLevel, eventId: EventId, formatString: string): Action<ILogger, T1, T2, Exception | undefined>;
|
|
391
|
+
static Define<T1, T2, T3>(logLevel: LogLevel, eventId: EventId, formatString: string): Action<ILogger, T1, T2, T3, Exception | undefined>;
|
|
392
|
+
static Define<T1, T2, T3, T4>(logLevel: LogLevel, eventId: EventId, formatString: string): Action<ILogger, T1, T2, T3, T4, Exception | undefined>;
|
|
393
|
+
static Define<T1, T2, T3, T4, T5>(logLevel: LogLevel, eventId: EventId, formatString: string): Action<ILogger, T1, T2, T3, T4, T5, Exception | undefined>;
|
|
394
|
+
static Define<T1, T2, T3, T4, T5, T6>(logLevel: LogLevel, eventId: EventId, formatString: string): Action<ILogger, T1, T2, T3, T4, T5, T6, Exception | undefined>;
|
|
395
|
+
static Define(logLevel: LogLevel, eventId: EventId, formatString: string): Action<ILogger, Exception | undefined>;
|
|
396
|
+
static DefineScope<T1>(formatString: string): Func<ILogger, T1, IDisposable | undefined>;
|
|
397
|
+
static DefineScope<T1, T2>(formatString: string): Func<ILogger, T1, T2, IDisposable | undefined>;
|
|
398
|
+
static DefineScope<T1, T2, T3>(formatString: string): Func<ILogger, T1, T2, T3, IDisposable | undefined>;
|
|
399
|
+
static DefineScope<T1, T2, T3, T4>(formatString: string): Func<ILogger, T1, T2, T3, T4, IDisposable | undefined>;
|
|
400
|
+
static DefineScope<T1, T2, T3, T4, T5>(formatString: string): Func<ILogger, T1, T2, T3, T4, T5, IDisposable | undefined>;
|
|
401
|
+
static DefineScope<T1, T2, T3, T4, T5, T6>(formatString: string): Func<ILogger, T1, T2, T3, T4, T5, T6, IDisposable | undefined>;
|
|
402
|
+
static DefineScope(formatString: string): Func<ILogger, IDisposable | undefined>;
|
|
403
403
|
}
|
|
404
404
|
|
|
405
405
|
|
|
406
406
|
export type LoggerMessage = LoggerMessage$instance;
|
|
407
407
|
|
|
408
408
|
export abstract class LoggingBuilderExtensions$instance {
|
|
409
|
-
static
|
|
410
|
-
static
|
|
411
|
-
static
|
|
412
|
-
static
|
|
409
|
+
static AddProvider(builder: ILoggingBuilder, provider: ILoggerProvider): ILoggingBuilder;
|
|
410
|
+
static ClearProviders(builder: ILoggingBuilder): ILoggingBuilder;
|
|
411
|
+
static Configure(builder: ILoggingBuilder, action: Action<LoggerFactoryOptions>): ILoggingBuilder;
|
|
412
|
+
static SetMinimumLevel(builder: ILoggingBuilder, level: LogLevel): ILoggingBuilder;
|
|
413
413
|
}
|
|
414
414
|
|
|
415
415
|
|
|
416
416
|
export type LoggingBuilderExtensions = LoggingBuilderExtensions$instance;
|
|
417
417
|
|
|
418
418
|
export abstract class LoggingBuilderExtensions2$instance {
|
|
419
|
-
static
|
|
419
|
+
static AddConfiguration(builder: ILoggingBuilder, configuration: IConfiguration): ILoggingBuilder;
|
|
420
420
|
}
|
|
421
421
|
|
|
422
422
|
|
|
423
423
|
export type LoggingBuilderExtensions2 = LoggingBuilderExtensions2$instance;
|
|
424
424
|
|
|
425
425
|
export abstract class TraceSourceFactoryExtensions$instance {
|
|
426
|
-
static
|
|
427
|
-
static
|
|
428
|
-
static
|
|
429
|
-
static
|
|
430
|
-
static
|
|
431
|
-
static
|
|
432
|
-
static
|
|
433
|
-
static
|
|
426
|
+
static AddTraceSource(factory: ILoggerFactory, sourceSwitch: SourceSwitch, listener: TraceListener): ILoggerFactory;
|
|
427
|
+
static AddTraceSource(factory: ILoggerFactory, sourceSwitch: SourceSwitch): ILoggerFactory;
|
|
428
|
+
static AddTraceSource(factory: ILoggerFactory, switchName: string, listener: TraceListener): ILoggerFactory;
|
|
429
|
+
static AddTraceSource(factory: ILoggerFactory, switchName: string): ILoggerFactory;
|
|
430
|
+
static AddTraceSource(builder: ILoggingBuilder, sourceSwitch: SourceSwitch, listener: TraceListener): ILoggingBuilder;
|
|
431
|
+
static AddTraceSource(builder: ILoggingBuilder, sourceSwitch: SourceSwitch): ILoggingBuilder;
|
|
432
|
+
static AddTraceSource(builder: ILoggingBuilder, switchName: string, listener: TraceListener): ILoggingBuilder;
|
|
433
|
+
static AddTraceSource(builder: ILoggingBuilder, switchName: string): ILoggingBuilder;
|
|
434
434
|
}
|
|
435
435
|
|
|
436
436
|
|