@tsonic/microsoft-extensions 10.0.5 → 10.0.7
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/internal/index.d.ts +21 -19
- package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +25 -21
- package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +39 -31
- package/Microsoft.Extensions.Configuration/internal/index.d.ts +92 -76
- package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +13 -11
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +9 -7
- package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +16 -10
- package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +15 -9
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +11 -11
- package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +15 -15
- package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +6 -2
- package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +19 -11
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +127 -115
- package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +18 -18
- package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +47 -31
- package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +25 -19
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.FileProviders/internal/index.d.ts +39 -39
- package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +12 -12
- package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +7 -7
- package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +11 -11
- package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +21 -15
- package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +21 -13
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +16 -6
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +14 -10
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +20 -20
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +33 -15
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +4 -2
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +53 -39
- package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +13 -13
- package/Microsoft.Extensions.Http/internal/index.d.ts +14 -10
- package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +13 -9
- package/Microsoft.Extensions.Internal/internal/index.d.ts +5 -5
- package/Microsoft.Extensions.Localization/internal/index.d.ts +31 -19
- package/Microsoft.Extensions.Logging/internal/index.d.ts +80 -66
- package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +28 -22
- package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +4 -2
- package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +24 -10
- package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +5 -5
- package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +9 -7
- package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +9 -7
- package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +6 -6
- package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +23 -7
- package/Microsoft.Extensions.Options/internal/index.d.ts +168 -128
- package/Microsoft.Extensions.Primitives/internal/index.d.ts +38 -22
- package/Microsoft.Extensions.Validation/internal/index.d.ts +31 -21
- package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +5 -3
- package/Microsoft.Extensions.WebEncoders.Testing/internal/index.d.ts +10 -4
- package/System.Diagnostics/internal/index.d.ts +24 -10
- package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +120 -70
- package/System.Net.Http/internal/index.d.ts +3 -3
- package/System.Security.Cryptography/internal/index.d.ts +11 -5
- package/System.Security.Cryptography.Pkcs/internal/index.d.ts +147 -69
- package/System.Security.Cryptography.Xml/internal/index.d.ts +98 -16
- package/__internal/extensions/index.d.ts +614 -505
- package/package.json +3 -3
|
@@ -11,10 +11,10 @@ import type { IServiceCollection } from "../../Microsoft.Extensions.DependencyIn
|
|
|
11
11
|
import type { ConsoleFormatter, ConsoleFormatterOptions, ConsoleLoggerOptions, IConsoleLoggerSettings, JsonConsoleFormatterOptions, SimpleConsoleFormatterOptions } from "../../Microsoft.Extensions.Logging.Console/internal/index.js";
|
|
12
12
|
import type { EventLogSettings } from "../../Microsoft.Extensions.Logging.EventLog/internal/index.js";
|
|
13
13
|
import type { IOptions_1, IOptionsMonitor_1 } from "../../Microsoft.Extensions.Options/internal/index.js";
|
|
14
|
-
import type {
|
|
15
|
-
import type { SourceSwitch, TraceListener } from "@tsonic/dotnet/System.Diagnostics.js";
|
|
16
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
17
|
-
import type {
|
|
14
|
+
import type { IEnumerable_1, IList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
15
|
+
import type { SourceSwitch, TraceListener } from "@tsonic/dotnet/System.Diagnostics/internal/index.js";
|
|
16
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
17
|
+
import type { Action_1, Action_2, Action_3, Action_4, Action_5, Action_6, Action_7, Action_8, Attribute, Boolean as ClrBoolean, Enum, Exception, Func_2, Func_3, Func_4, Func_5, Func_6, Func_7, Func_8, IComparable, IConvertible, IDisposable, IEquatable_1, IFormattable, Int32, ISpanFormattable, Nullable_1, Object as ClrObject, String as ClrString, Type, ValueType, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
18
18
|
|
|
19
19
|
export enum ActivityTrackingOptions {
|
|
20
20
|
None = 0,
|
|
@@ -42,7 +42,7 @@ export enum LogLevel {
|
|
|
42
42
|
export interface IExternalScopeProvider$instance {
|
|
43
43
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_IExternalScopeProvider: never;
|
|
44
44
|
|
|
45
|
-
ForEachScope<TState>(callback:
|
|
45
|
+
ForEachScope<TState>(callback: Action_2<unknown, TState>, state: TState): void;
|
|
46
46
|
Push(state: unknown): IDisposable;
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -54,7 +54,7 @@ export interface ILogger$instance {
|
|
|
54
54
|
|
|
55
55
|
BeginScope<TState>(state: TState): IDisposable;
|
|
56
56
|
IsEnabled(logLevel: LogLevel): boolean;
|
|
57
|
-
Log<TState>(logLevel: LogLevel, eventId: EventId, state: TState, exception: Exception, formatter:
|
|
57
|
+
Log<TState>(logLevel: LogLevel, eventId: EventId, state: TState, exception: Exception, formatter: Func_3<TState, Exception, System_Internal.String>): void;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
|
|
@@ -65,7 +65,7 @@ export interface ILogger_1$instance<TCategoryName> extends ILogger {
|
|
|
65
65
|
|
|
66
66
|
BeginScope<TState>(state: TState): IDisposable;
|
|
67
67
|
IsEnabled(logLevel: LogLevel): boolean;
|
|
68
|
-
Log<TState>(logLevel: LogLevel, eventId: EventId, state: TState, exception: Exception, formatter:
|
|
68
|
+
Log<TState>(logLevel: LogLevel, eventId: EventId, state: TState, exception: Exception, formatter: Func_3<TState, Exception, System_Internal.String>): void;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
|
|
@@ -115,6 +115,8 @@ export interface ISupportExternalScope$instance {
|
|
|
115
115
|
export type ISupportExternalScope = ISupportExternalScope$instance;
|
|
116
116
|
|
|
117
117
|
export interface EventId$instance {
|
|
118
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_EventId: never;
|
|
119
|
+
|
|
118
120
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
119
121
|
|
|
120
122
|
readonly Id: int;
|
|
@@ -134,6 +136,8 @@ export const EventId: {
|
|
|
134
136
|
export type EventId = EventId$instance;
|
|
135
137
|
|
|
136
138
|
export interface LogDefineOptions$instance {
|
|
139
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_LogDefineOptions: never;
|
|
140
|
+
|
|
137
141
|
SkipEnabledCheck: boolean;
|
|
138
142
|
}
|
|
139
143
|
|
|
@@ -145,7 +149,9 @@ export const LogDefineOptions: {
|
|
|
145
149
|
|
|
146
150
|
export type LogDefineOptions = LogDefineOptions$instance;
|
|
147
151
|
|
|
148
|
-
export interface Logger_1$instance<T> {
|
|
152
|
+
export interface Logger_1$instance<T> extends ILogger_1$instance<T> {
|
|
153
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_Logger_1: never;
|
|
154
|
+
|
|
149
155
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_ILogger: never;
|
|
150
156
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_ILogger_1: never;
|
|
151
157
|
|
|
@@ -161,15 +167,15 @@ export interface __Logger_1$views<T> {
|
|
|
161
167
|
As_ILogger(): ILogger$instance;
|
|
162
168
|
}
|
|
163
169
|
|
|
164
|
-
export interface Logger_1$instance<T> extends ILogger_1$instance<T> {}
|
|
165
|
-
|
|
166
170
|
export type Logger_1<T> = Logger_1$instance<T> & __Logger_1$views<T>;
|
|
167
171
|
|
|
168
172
|
|
|
169
|
-
export interface LoggerExternalScopeProvider$instance {
|
|
173
|
+
export interface LoggerExternalScopeProvider$instance extends IExternalScopeProvider$instance {
|
|
174
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_LoggerExternalScopeProvider: never;
|
|
175
|
+
|
|
170
176
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_IExternalScopeProvider: never;
|
|
171
177
|
|
|
172
|
-
ForEachScope<TState>(callback:
|
|
178
|
+
ForEachScope<TState>(callback: Action_2<unknown, TState>, state: TState): void;
|
|
173
179
|
Push(state: unknown): IDisposable;
|
|
174
180
|
}
|
|
175
181
|
|
|
@@ -183,12 +189,12 @@ export interface __LoggerExternalScopeProvider$views {
|
|
|
183
189
|
As_IExternalScopeProvider(): IExternalScopeProvider$instance;
|
|
184
190
|
}
|
|
185
191
|
|
|
186
|
-
export interface LoggerExternalScopeProvider$instance extends IExternalScopeProvider$instance {}
|
|
187
|
-
|
|
188
192
|
export type LoggerExternalScopeProvider = LoggerExternalScopeProvider$instance & __LoggerExternalScopeProvider$views;
|
|
189
193
|
|
|
190
194
|
|
|
191
|
-
export interface LoggerFactory$instance {
|
|
195
|
+
export interface LoggerFactory$instance extends ILoggerFactory$instance {
|
|
196
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_LoggerFactory: never;
|
|
197
|
+
|
|
192
198
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_ILoggerFactory: never;
|
|
193
199
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
194
200
|
|
|
@@ -201,12 +207,12 @@ export interface LoggerFactory$instance {
|
|
|
201
207
|
|
|
202
208
|
export const LoggerFactory: {
|
|
203
209
|
new(): LoggerFactory;
|
|
204
|
-
new(providers:
|
|
205
|
-
new(providers:
|
|
206
|
-
new(providers:
|
|
207
|
-
new(providers:
|
|
208
|
-
new(providers:
|
|
209
|
-
Create(configure:
|
|
210
|
+
new(providers: IEnumerable_1<ILoggerProvider>): LoggerFactory;
|
|
211
|
+
new(providers: IEnumerable_1<ILoggerProvider>, filterOptions: LoggerFilterOptions): LoggerFactory;
|
|
212
|
+
new(providers: IEnumerable_1<ILoggerProvider>, filterOption: IOptionsMonitor_1<LoggerFilterOptions>): LoggerFactory;
|
|
213
|
+
new(providers: IEnumerable_1<ILoggerProvider>, filterOption: IOptionsMonitor_1<LoggerFilterOptions>, options: IOptions_1<LoggerFactoryOptions>): LoggerFactory;
|
|
214
|
+
new(providers: IEnumerable_1<ILoggerProvider>, filterOption: IOptionsMonitor_1<LoggerFilterOptions>, options: IOptions_1<LoggerFactoryOptions>, scopeProvider: IExternalScopeProvider): LoggerFactory;
|
|
215
|
+
Create(configure: Action_1<ILoggingBuilder>): ILoggerFactory;
|
|
210
216
|
};
|
|
211
217
|
|
|
212
218
|
|
|
@@ -214,12 +220,12 @@ export interface __LoggerFactory$views {
|
|
|
214
220
|
As_ILoggerFactory(): ILoggerFactory$instance;
|
|
215
221
|
}
|
|
216
222
|
|
|
217
|
-
export interface LoggerFactory$instance extends ILoggerFactory$instance {}
|
|
218
|
-
|
|
219
223
|
export type LoggerFactory = LoggerFactory$instance & __LoggerFactory$views;
|
|
220
224
|
|
|
221
225
|
|
|
222
226
|
export interface LoggerFactoryOptions$instance {
|
|
227
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_LoggerFactoryOptions: never;
|
|
228
|
+
|
|
223
229
|
ActivityTrackingOptions: ActivityTrackingOptions;
|
|
224
230
|
}
|
|
225
231
|
|
|
@@ -232,9 +238,11 @@ export const LoggerFactoryOptions: {
|
|
|
232
238
|
export type LoggerFactoryOptions = LoggerFactoryOptions$instance;
|
|
233
239
|
|
|
234
240
|
export interface LoggerFilterOptions$instance {
|
|
241
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_LoggerFilterOptions: never;
|
|
242
|
+
|
|
235
243
|
CaptureScopes: boolean;
|
|
236
244
|
MinLevel: LogLevel;
|
|
237
|
-
readonly Rules:
|
|
245
|
+
readonly Rules: IList_1<LoggerFilterRule>;
|
|
238
246
|
}
|
|
239
247
|
|
|
240
248
|
|
|
@@ -246,22 +254,26 @@ export const LoggerFilterOptions: {
|
|
|
246
254
|
export type LoggerFilterOptions = LoggerFilterOptions$instance;
|
|
247
255
|
|
|
248
256
|
export interface LoggerFilterRule$instance {
|
|
257
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_LoggerFilterRule: never;
|
|
258
|
+
|
|
249
259
|
readonly CategoryName: string | undefined;
|
|
250
|
-
readonly Filter:
|
|
251
|
-
readonly LogLevel:
|
|
260
|
+
readonly Filter: Func_4<string | undefined, string | undefined, LogLevel, System_Internal.Boolean> | undefined;
|
|
261
|
+
readonly LogLevel: Nullable_1<LogLevel>;
|
|
252
262
|
readonly ProviderName: string | undefined;
|
|
253
263
|
ToString(): string;
|
|
254
264
|
}
|
|
255
265
|
|
|
256
266
|
|
|
257
267
|
export const LoggerFilterRule: {
|
|
258
|
-
new(providerName: string, categoryName: string, logLevel:
|
|
268
|
+
new(providerName: string, categoryName: string, logLevel: Nullable_1<LogLevel>, filter: Func_4<System_Internal.String, System_Internal.String, LogLevel, System_Internal.Boolean>): LoggerFilterRule;
|
|
259
269
|
};
|
|
260
270
|
|
|
261
271
|
|
|
262
272
|
export type LoggerFilterRule = LoggerFilterRule$instance;
|
|
263
273
|
|
|
264
274
|
export interface LoggerMessageAttribute$instance extends Attribute {
|
|
275
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_LoggerMessageAttribute: never;
|
|
276
|
+
|
|
265
277
|
EventId: int;
|
|
266
278
|
get EventName(): string | undefined;
|
|
267
279
|
set EventName(value: string | undefined);
|
|
@@ -283,6 +295,8 @@ export const LoggerMessageAttribute: {
|
|
|
283
295
|
export type LoggerMessageAttribute = LoggerMessageAttribute$instance;
|
|
284
296
|
|
|
285
297
|
export interface ProviderAliasAttribute$instance extends Attribute {
|
|
298
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_ProviderAliasAttribute: never;
|
|
299
|
+
|
|
286
300
|
readonly Alias: string;
|
|
287
301
|
}
|
|
288
302
|
|
|
@@ -300,18 +314,18 @@ export abstract class ConsoleLoggerExtensions$instance {
|
|
|
300
314
|
static AddConsole(factory: ILoggerFactory, minLevel: LogLevel, includeScopes: boolean): ILoggerFactory;
|
|
301
315
|
static AddConsole(factory: ILoggerFactory, minLevel: LogLevel): ILoggerFactory;
|
|
302
316
|
static AddConsole(factory: ILoggerFactory, includeScopes: boolean): ILoggerFactory;
|
|
303
|
-
static AddConsole(factory: ILoggerFactory, filter:
|
|
304
|
-
static AddConsole(factory: ILoggerFactory, filter:
|
|
317
|
+
static AddConsole(factory: ILoggerFactory, filter: Func_3<System_Internal.String, LogLevel, System_Internal.Boolean>, includeScopes: boolean): ILoggerFactory;
|
|
318
|
+
static AddConsole(factory: ILoggerFactory, filter: Func_3<System_Internal.String, LogLevel, System_Internal.Boolean>): ILoggerFactory;
|
|
305
319
|
static AddConsole(factory: ILoggerFactory): ILoggerFactory;
|
|
306
|
-
static AddConsole(builder: ILoggingBuilder, configure:
|
|
320
|
+
static AddConsole(builder: ILoggingBuilder, configure: Action_1<ConsoleLoggerOptions>): ILoggingBuilder;
|
|
307
321
|
static AddConsole(builder: ILoggingBuilder): ILoggingBuilder;
|
|
308
|
-
static AddConsoleFormatter<TFormatter extends ConsoleFormatter, TOptions extends ConsoleFormatterOptions>(builder: ILoggingBuilder, configure:
|
|
322
|
+
static AddConsoleFormatter<TFormatter extends ConsoleFormatter, TOptions extends ConsoleFormatterOptions>(builder: ILoggingBuilder, configure: Action_1<TOptions>): ILoggingBuilder;
|
|
309
323
|
static AddConsoleFormatter<TFormatter extends ConsoleFormatter, TOptions extends ConsoleFormatterOptions>(builder: ILoggingBuilder): ILoggingBuilder;
|
|
310
|
-
static AddJsonConsole(builder: ILoggingBuilder, configure:
|
|
324
|
+
static AddJsonConsole(builder: ILoggingBuilder, configure: Action_1<JsonConsoleFormatterOptions>): ILoggingBuilder;
|
|
311
325
|
static AddJsonConsole(builder: ILoggingBuilder): ILoggingBuilder;
|
|
312
|
-
static AddSimpleConsole(builder: ILoggingBuilder, configure:
|
|
326
|
+
static AddSimpleConsole(builder: ILoggingBuilder, configure: Action_1<SimpleConsoleFormatterOptions>): ILoggingBuilder;
|
|
313
327
|
static AddSimpleConsole(builder: ILoggingBuilder): ILoggingBuilder;
|
|
314
|
-
static AddSystemdConsole(builder: ILoggingBuilder, configure:
|
|
328
|
+
static AddSystemdConsole(builder: ILoggingBuilder, configure: Action_1<ConsoleFormatterOptions>): ILoggingBuilder;
|
|
315
329
|
static AddSystemdConsole(builder: ILoggingBuilder): ILoggingBuilder;
|
|
316
330
|
}
|
|
317
331
|
|
|
@@ -320,7 +334,7 @@ export type ConsoleLoggerExtensions = ConsoleLoggerExtensions$instance;
|
|
|
320
334
|
|
|
321
335
|
export abstract class DebugLoggerFactoryExtensions$instance {
|
|
322
336
|
static AddDebug(factory: ILoggerFactory, minLevel: LogLevel): ILoggerFactory;
|
|
323
|
-
static AddDebug(factory: ILoggerFactory, filter:
|
|
337
|
+
static AddDebug(factory: ILoggerFactory, filter: Func_3<System_Internal.String, LogLevel, System_Internal.Boolean>): ILoggerFactory;
|
|
324
338
|
static AddDebug(factory: ILoggerFactory): ILoggerFactory;
|
|
325
339
|
static AddDebug(builder: ILoggingBuilder): ILoggingBuilder;
|
|
326
340
|
}
|
|
@@ -333,7 +347,7 @@ export abstract class EventLoggerFactoryExtensions$instance {
|
|
|
333
347
|
static AddEventLog(factory: ILoggerFactory, minLevel: LogLevel): ILoggerFactory;
|
|
334
348
|
static AddEventLog(factory: ILoggerFactory): ILoggerFactory;
|
|
335
349
|
static AddEventLog(builder: ILoggingBuilder, settings: EventLogSettings): ILoggingBuilder;
|
|
336
|
-
static AddEventLog(builder: ILoggingBuilder, configure:
|
|
350
|
+
static AddEventLog(builder: ILoggingBuilder, configure: Action_1<EventLogSettings>): ILoggingBuilder;
|
|
337
351
|
static AddEventLog(builder: ILoggingBuilder): ILoggingBuilder;
|
|
338
352
|
}
|
|
339
353
|
|
|
@@ -349,16 +363,16 @@ export abstract class EventSourceLoggerFactoryExtensions$instance {
|
|
|
349
363
|
export type EventSourceLoggerFactoryExtensions = EventSourceLoggerFactoryExtensions$instance;
|
|
350
364
|
|
|
351
365
|
export abstract class FilterLoggingBuilderExtensions$instance {
|
|
352
|
-
static AddFilter(builder: ILoggingBuilder, levelFilter:
|
|
353
|
-
static AddFilter(builder: ILoggingBuilder, categoryLevelFilter:
|
|
354
|
-
static AddFilter(builder: ILoggingBuilder, filter:
|
|
366
|
+
static AddFilter(builder: ILoggingBuilder, levelFilter: Func_2<LogLevel, System_Internal.Boolean>): ILoggingBuilder;
|
|
367
|
+
static AddFilter(builder: ILoggingBuilder, categoryLevelFilter: Func_3<System_Internal.String, LogLevel, System_Internal.Boolean>): ILoggingBuilder;
|
|
368
|
+
static AddFilter(builder: ILoggingBuilder, filter: Func_4<System_Internal.String, System_Internal.String, LogLevel, System_Internal.Boolean>): ILoggingBuilder;
|
|
355
369
|
static AddFilter(builder: ILoggingBuilder, category: string, level: LogLevel): ILoggingBuilder;
|
|
356
|
-
static AddFilter(builder: ILoggingBuilder, category: string, levelFilter:
|
|
357
|
-
static AddFilter(builder: LoggerFilterOptions, levelFilter:
|
|
358
|
-
static AddFilter(builder: LoggerFilterOptions, categoryLevelFilter:
|
|
359
|
-
static AddFilter(builder: LoggerFilterOptions, filter:
|
|
370
|
+
static AddFilter(builder: ILoggingBuilder, category: string, levelFilter: Func_2<LogLevel, System_Internal.Boolean>): ILoggingBuilder;
|
|
371
|
+
static AddFilter(builder: LoggerFilterOptions, levelFilter: Func_2<LogLevel, System_Internal.Boolean>): LoggerFilterOptions;
|
|
372
|
+
static AddFilter(builder: LoggerFilterOptions, categoryLevelFilter: Func_3<System_Internal.String, LogLevel, System_Internal.Boolean>): LoggerFilterOptions;
|
|
373
|
+
static AddFilter(builder: LoggerFilterOptions, filter: Func_4<System_Internal.String, System_Internal.String, LogLevel, System_Internal.Boolean>): LoggerFilterOptions;
|
|
360
374
|
static AddFilter(builder: LoggerFilterOptions, category: string, level: LogLevel): LoggerFilterOptions;
|
|
361
|
-
static AddFilter(builder: LoggerFilterOptions, category: string, levelFilter:
|
|
375
|
+
static AddFilter(builder: LoggerFilterOptions, category: string, levelFilter: Func_2<LogLevel, System_Internal.Boolean>): LoggerFilterOptions;
|
|
362
376
|
}
|
|
363
377
|
|
|
364
378
|
|
|
@@ -408,27 +422,27 @@ export abstract class LoggerFactoryExtensions$instance {
|
|
|
408
422
|
export type LoggerFactoryExtensions = LoggerFactoryExtensions$instance;
|
|
409
423
|
|
|
410
424
|
export abstract class LoggerMessage$instance {
|
|
411
|
-
static Define<T1>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions):
|
|
412
|
-
static Define<T1, T2>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions):
|
|
413
|
-
static Define<T1, T2, T3>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions):
|
|
414
|
-
static Define<T1, T2, T3, T4>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions):
|
|
415
|
-
static Define<T1, T2, T3, T4, T5>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions):
|
|
416
|
-
static Define<T1, T2, T3, T4, T5, T6>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions):
|
|
417
|
-
static Define(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions):
|
|
418
|
-
static Define<T1>(logLevel: LogLevel, eventId: EventId, formatString: string):
|
|
419
|
-
static Define<T1, T2>(logLevel: LogLevel, eventId: EventId, formatString: string):
|
|
420
|
-
static Define<T1, T2, T3>(logLevel: LogLevel, eventId: EventId, formatString: string):
|
|
421
|
-
static Define<T1, T2, T3, T4>(logLevel: LogLevel, eventId: EventId, formatString: string):
|
|
422
|
-
static Define<T1, T2, T3, T4, T5>(logLevel: LogLevel, eventId: EventId, formatString: string):
|
|
423
|
-
static Define<T1, T2, T3, T4, T5, T6>(logLevel: LogLevel, eventId: EventId, formatString: string):
|
|
424
|
-
static Define(logLevel: LogLevel, eventId: EventId, formatString: string):
|
|
425
|
-
static DefineScope<T1>(formatString: string):
|
|
426
|
-
static DefineScope<T1, T2>(formatString: string):
|
|
427
|
-
static DefineScope<T1, T2, T3>(formatString: string):
|
|
428
|
-
static DefineScope<T1, T2, T3, T4>(formatString: string):
|
|
429
|
-
static DefineScope<T1, T2, T3, T4, T5>(formatString: string):
|
|
430
|
-
static DefineScope<T1, T2, T3, T4, T5, T6>(formatString: string):
|
|
431
|
-
static DefineScope(formatString: string):
|
|
425
|
+
static Define<T1>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action_3<ILogger, T1, Exception | undefined>;
|
|
426
|
+
static Define<T1, T2>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action_4<ILogger, T1, T2, Exception | undefined>;
|
|
427
|
+
static Define<T1, T2, T3>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action_5<ILogger, T1, T2, T3, Exception | undefined>;
|
|
428
|
+
static Define<T1, T2, T3, T4>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action_6<ILogger, T1, T2, T3, T4, Exception | undefined>;
|
|
429
|
+
static Define<T1, T2, T3, T4, T5>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action_7<ILogger, T1, T2, T3, T4, T5, Exception | undefined>;
|
|
430
|
+
static Define<T1, T2, T3, T4, T5, T6>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action_8<ILogger, T1, T2, T3, T4, T5, T6, Exception | undefined>;
|
|
431
|
+
static Define(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action_2<ILogger, Exception | undefined>;
|
|
432
|
+
static Define<T1>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_3<ILogger, T1, Exception | undefined>;
|
|
433
|
+
static Define<T1, T2>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_4<ILogger, T1, T2, Exception | undefined>;
|
|
434
|
+
static Define<T1, T2, T3>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_5<ILogger, T1, T2, T3, Exception | undefined>;
|
|
435
|
+
static Define<T1, T2, T3, T4>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_6<ILogger, T1, T2, T3, T4, Exception | undefined>;
|
|
436
|
+
static Define<T1, T2, T3, T4, T5>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_7<ILogger, T1, T2, T3, T4, T5, Exception | undefined>;
|
|
437
|
+
static Define<T1, T2, T3, T4, T5, T6>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_8<ILogger, T1, T2, T3, T4, T5, T6, Exception | undefined>;
|
|
438
|
+
static Define(logLevel: LogLevel, eventId: EventId, formatString: string): Action_2<ILogger, Exception | undefined>;
|
|
439
|
+
static DefineScope<T1>(formatString: string): Func_3<ILogger, T1, IDisposable | undefined>;
|
|
440
|
+
static DefineScope<T1, T2>(formatString: string): Func_4<ILogger, T1, T2, IDisposable | undefined>;
|
|
441
|
+
static DefineScope<T1, T2, T3>(formatString: string): Func_5<ILogger, T1, T2, T3, IDisposable | undefined>;
|
|
442
|
+
static DefineScope<T1, T2, T3, T4>(formatString: string): Func_6<ILogger, T1, T2, T3, T4, IDisposable | undefined>;
|
|
443
|
+
static DefineScope<T1, T2, T3, T4, T5>(formatString: string): Func_7<ILogger, T1, T2, T3, T4, T5, IDisposable | undefined>;
|
|
444
|
+
static DefineScope<T1, T2, T3, T4, T5, T6>(formatString: string): Func_8<ILogger, T1, T2, T3, T4, T5, T6, IDisposable | undefined>;
|
|
445
|
+
static DefineScope(formatString: string): Func_2<ILogger, IDisposable | undefined>;
|
|
432
446
|
}
|
|
433
447
|
|
|
434
448
|
|
|
@@ -437,7 +451,7 @@ export type LoggerMessage = LoggerMessage$instance;
|
|
|
437
451
|
export abstract class LoggingBuilderExtensions$instance {
|
|
438
452
|
static AddProvider(builder: ILoggingBuilder, provider: ILoggerProvider): ILoggingBuilder;
|
|
439
453
|
static ClearProviders(builder: ILoggingBuilder): ILoggingBuilder;
|
|
440
|
-
static Configure(builder: ILoggingBuilder, action:
|
|
454
|
+
static Configure(builder: ILoggingBuilder, action: Action_1<LoggerFactoryOptions>): ILoggingBuilder;
|
|
441
455
|
static SetMinimumLevel(builder: ILoggingBuilder, level: LogLevel): ILoggingBuilder;
|
|
442
456
|
}
|
|
443
457
|
|
|
@@ -8,46 +8,50 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import * as Microsoft_Extensions_Logging_Internal from "../../Microsoft.Extensions.Logging/internal/index.js";
|
|
10
10
|
import type { EventId, ILogger, ILogger_1, ILoggerFactory, ILoggerProvider, LogLevel } from "../../Microsoft.Extensions.Logging/internal/index.js";
|
|
11
|
-
import type {
|
|
12
|
-
import type { ActivitySpanId, ActivityTraceId } from "@tsonic/dotnet/System.Diagnostics.js";
|
|
13
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
14
|
-
import type { Boolean as ClrBoolean, DateTimeOffset, Exception,
|
|
11
|
+
import type { IEnumerable_1, IReadOnlyList_1, KeyValuePair_2 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
12
|
+
import type { ActivitySpanId, ActivityTraceId } from "@tsonic/dotnet/System.Diagnostics/internal/index.js";
|
|
13
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
14
|
+
import type { Boolean as ClrBoolean, DateTimeOffset, Exception, Func_3, IDisposable, Int32, Nullable_1, Object as ClrObject, String as ClrString, ValueType, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
15
15
|
|
|
16
16
|
export interface IBufferedLogger$instance {
|
|
17
17
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_Abstractions_IBufferedLogger: never;
|
|
18
18
|
|
|
19
|
-
LogRecords(records:
|
|
19
|
+
LogRecords(records: IEnumerable_1<BufferedLogRecord>): void;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
export type IBufferedLogger = IBufferedLogger$instance;
|
|
24
24
|
|
|
25
25
|
export interface LogEntry_1$instance<TState> {
|
|
26
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_Abstractions_LogEntry_1: never;
|
|
27
|
+
|
|
26
28
|
readonly Category: string;
|
|
27
29
|
readonly EventId: EventId;
|
|
28
30
|
readonly Exception: Exception | undefined;
|
|
29
|
-
readonly Formatter:
|
|
31
|
+
readonly Formatter: Func_3<TState, Exception | undefined, System_Internal.String>;
|
|
30
32
|
readonly LogLevel: LogLevel;
|
|
31
33
|
readonly State: TState;
|
|
32
34
|
}
|
|
33
35
|
|
|
34
36
|
|
|
35
37
|
export const LogEntry_1: {
|
|
36
|
-
new<TState>(logLevel: LogLevel, category: string, eventId: EventId, state: TState, exception: Exception, formatter:
|
|
38
|
+
new<TState>(logLevel: LogLevel, category: string, eventId: EventId, state: TState, exception: Exception, formatter: Func_3<TState, Exception, System_Internal.String>): LogEntry_1<TState>;
|
|
37
39
|
};
|
|
38
40
|
|
|
39
41
|
|
|
40
42
|
export type LogEntry_1<TState> = LogEntry_1$instance<TState>;
|
|
41
43
|
|
|
42
44
|
export interface BufferedLogRecord$instance {
|
|
43
|
-
readonly
|
|
44
|
-
|
|
45
|
-
readonly
|
|
45
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_Abstractions_BufferedLogRecord: never;
|
|
46
|
+
|
|
47
|
+
readonly ActivitySpanId: Nullable_1<ActivitySpanId>;
|
|
48
|
+
readonly ActivityTraceId: Nullable_1<ActivityTraceId>;
|
|
49
|
+
readonly Attributes: IReadOnlyList_1<KeyValuePair_2<System_Internal.String, unknown>>;
|
|
46
50
|
readonly EventId: EventId;
|
|
47
51
|
readonly Exception: string | undefined;
|
|
48
52
|
readonly FormattedMessage: string | undefined;
|
|
49
53
|
readonly LogLevel: LogLevel;
|
|
50
|
-
readonly ManagedThreadId:
|
|
54
|
+
readonly ManagedThreadId: Nullable_1<System_Internal.Int32>;
|
|
51
55
|
readonly MessageTemplate: string | undefined;
|
|
52
56
|
readonly Timestamp: DateTimeOffset;
|
|
53
57
|
}
|
|
@@ -59,12 +63,14 @@ export const BufferedLogRecord: (abstract new() => BufferedLogRecord) & {
|
|
|
59
63
|
|
|
60
64
|
export type BufferedLogRecord = BufferedLogRecord$instance;
|
|
61
65
|
|
|
62
|
-
export interface NullLogger$instance {
|
|
66
|
+
export interface NullLogger$instance extends Microsoft_Extensions_Logging_Internal.ILogger$instance {
|
|
67
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_Abstractions_NullLogger: never;
|
|
68
|
+
|
|
63
69
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_ILogger: never;
|
|
64
70
|
|
|
65
71
|
BeginScope<TState>(state: TState): IDisposable;
|
|
66
72
|
IsEnabled(logLevel: LogLevel): boolean;
|
|
67
|
-
Log<TState>(logLevel: LogLevel, eventId: EventId, state: TState, exception: Exception, formatter:
|
|
73
|
+
Log<TState>(logLevel: LogLevel, eventId: EventId, state: TState, exception: Exception, formatter: Func_3<TState, Exception, System_Internal.String>): void;
|
|
68
74
|
}
|
|
69
75
|
|
|
70
76
|
|
|
@@ -77,18 +83,18 @@ export interface __NullLogger$views {
|
|
|
77
83
|
As_ILogger(): Microsoft_Extensions_Logging_Internal.ILogger$instance;
|
|
78
84
|
}
|
|
79
85
|
|
|
80
|
-
export interface NullLogger$instance extends Microsoft_Extensions_Logging_Internal.ILogger$instance {}
|
|
81
|
-
|
|
82
86
|
export type NullLogger = NullLogger$instance & __NullLogger$views;
|
|
83
87
|
|
|
84
88
|
|
|
85
89
|
export interface NullLogger_1$instance<T> extends ILogger_1<T> {
|
|
90
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_Abstractions_NullLogger_1: never;
|
|
91
|
+
|
|
86
92
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_ILogger: never;
|
|
87
93
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_ILogger_1: never;
|
|
88
94
|
|
|
89
95
|
BeginScope<TState>(state: TState): IDisposable;
|
|
90
96
|
IsEnabled(logLevel: LogLevel): boolean;
|
|
91
|
-
Log<TState>(logLevel: LogLevel, eventId: EventId, state: TState, exception: Exception, formatter:
|
|
97
|
+
Log<TState>(logLevel: LogLevel, eventId: EventId, state: TState, exception: Exception, formatter: Func_3<TState, Exception, System_Internal.String>): void;
|
|
92
98
|
}
|
|
93
99
|
|
|
94
100
|
|
|
@@ -105,7 +111,9 @@ export interface __NullLogger_1$views<T> {
|
|
|
105
111
|
export type NullLogger_1<T> = NullLogger_1$instance<T> & __NullLogger_1$views<T>;
|
|
106
112
|
|
|
107
113
|
|
|
108
|
-
export interface NullLoggerFactory$instance {
|
|
114
|
+
export interface NullLoggerFactory$instance extends Microsoft_Extensions_Logging_Internal.ILoggerFactory$instance {
|
|
115
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_Abstractions_NullLoggerFactory: never;
|
|
116
|
+
|
|
109
117
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_ILoggerFactory: never;
|
|
110
118
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
111
119
|
|
|
@@ -125,12 +133,12 @@ export interface __NullLoggerFactory$views {
|
|
|
125
133
|
As_ILoggerFactory(): Microsoft_Extensions_Logging_Internal.ILoggerFactory$instance;
|
|
126
134
|
}
|
|
127
135
|
|
|
128
|
-
export interface NullLoggerFactory$instance extends Microsoft_Extensions_Logging_Internal.ILoggerFactory$instance {}
|
|
129
|
-
|
|
130
136
|
export type NullLoggerFactory = NullLoggerFactory$instance & __NullLoggerFactory$views;
|
|
131
137
|
|
|
132
138
|
|
|
133
|
-
export interface NullLoggerProvider$instance {
|
|
139
|
+
export interface NullLoggerProvider$instance extends Microsoft_Extensions_Logging_Internal.ILoggerProvider$instance {
|
|
140
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_Abstractions_NullLoggerProvider: never;
|
|
141
|
+
|
|
134
142
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_ILoggerProvider: never;
|
|
135
143
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
136
144
|
|
|
@@ -148,8 +156,6 @@ export interface __NullLoggerProvider$views {
|
|
|
148
156
|
As_ILoggerProvider(): Microsoft_Extensions_Logging_Internal.ILoggerProvider$instance;
|
|
149
157
|
}
|
|
150
158
|
|
|
151
|
-
export interface NullLoggerProvider$instance extends Microsoft_Extensions_Logging_Internal.ILoggerProvider$instance {}
|
|
152
|
-
|
|
153
159
|
export type NullLoggerProvider = NullLoggerProvider$instance & __NullLoggerProvider$views;
|
|
154
160
|
|
|
155
161
|
|
|
@@ -12,8 +12,8 @@ import type { ILoggingBuilder } from "../../Microsoft.Extensions.Logging/interna
|
|
|
12
12
|
import * as Microsoft_Extensions_Options_Internal from "../../Microsoft.Extensions.Options/internal/index.js";
|
|
13
13
|
import type { ConfigurationChangeTokenSource_1, IOptionsChangeTokenSource_1 } from "../../Microsoft.Extensions.Options/internal/index.js";
|
|
14
14
|
import type { IChangeToken } from "../../Microsoft.Extensions.Primitives/internal/index.js";
|
|
15
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
16
|
-
import type { Object as ClrObject, String as ClrString, Type, Void } from "@tsonic/dotnet/System.js";
|
|
15
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
16
|
+
import type { Object as ClrObject, String as ClrString, Type, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
17
17
|
|
|
18
18
|
export interface ILoggerProviderConfiguration_1$instance<T> {
|
|
19
19
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_Configuration_ILoggerProviderConfiguration_1: never;
|
|
@@ -34,6 +34,8 @@ export interface ILoggerProviderConfigurationFactory$instance {
|
|
|
34
34
|
export type ILoggerProviderConfigurationFactory = ILoggerProviderConfigurationFactory$instance;
|
|
35
35
|
|
|
36
36
|
export interface LoggerProviderOptionsChangeTokenSource_2$instance<TOptions, TProvider> extends ConfigurationChangeTokenSource_1<TOptions> {
|
|
37
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_Configuration_LoggerProviderOptionsChangeTokenSource_2: never;
|
|
38
|
+
|
|
37
39
|
readonly __tsonic_iface_Microsoft_Extensions_Options_IOptionsChangeTokenSource_1: never;
|
|
38
40
|
|
|
39
41
|
GetChangeToken(): IChangeToken;
|
|
@@ -15,11 +15,11 @@ import * as Microsoft_Extensions_Logging_Internal from "../../Microsoft.Extensio
|
|
|
15
15
|
import type { IExternalScopeProvider, ILogger, ILoggerProvider, ISupportExternalScope, LogLevel } from "../../Microsoft.Extensions.Logging/internal/index.js";
|
|
16
16
|
import type { IOptionsMonitor_1 } from "../../Microsoft.Extensions.Options/internal/index.js";
|
|
17
17
|
import type { IChangeToken } from "../../Microsoft.Extensions.Primitives/internal/index.js";
|
|
18
|
-
import type {
|
|
19
|
-
import type { TextWriter } from "@tsonic/dotnet/System.IO.js";
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import type {
|
|
18
|
+
import type { IDictionary_2, IEnumerable_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
19
|
+
import type { TextWriter } from "@tsonic/dotnet/System.IO/internal/index.js";
|
|
20
|
+
import type { JsonWriterOptions } from "@tsonic/dotnet/System.Text.Json/internal/index.js";
|
|
21
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
22
|
+
import type { Boolean as ClrBoolean, Enum, IComparable, IConvertible, IDisposable, IFormattable, Int32, ISpanFormattable, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
23
23
|
|
|
24
24
|
export enum ConsoleLoggerFormat {
|
|
25
25
|
Default = 0,
|
|
@@ -53,6 +53,8 @@ export interface IConsoleLoggerSettings$instance {
|
|
|
53
53
|
export type IConsoleLoggerSettings = IConsoleLoggerSettings$instance;
|
|
54
54
|
|
|
55
55
|
export interface ConfigurationConsoleLoggerSettings$instance {
|
|
56
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_Console_ConfigurationConsoleLoggerSettings: never;
|
|
57
|
+
|
|
56
58
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_Console_IConsoleLoggerSettings: never;
|
|
57
59
|
|
|
58
60
|
get ChangeToken(): IChangeToken | undefined;
|
|
@@ -76,6 +78,8 @@ export type ConfigurationConsoleLoggerSettings = ConfigurationConsoleLoggerSetti
|
|
|
76
78
|
|
|
77
79
|
|
|
78
80
|
export interface ConsoleFormatter$instance {
|
|
81
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_Console_ConsoleFormatter: never;
|
|
82
|
+
|
|
79
83
|
readonly Name: string;
|
|
80
84
|
Write<TState>(logEntry: LogEntry_1<TState>, scopeProvider: IExternalScopeProvider, textWriter: TextWriter): void;
|
|
81
85
|
}
|
|
@@ -88,6 +92,8 @@ export const ConsoleFormatter: (abstract new(name: string) => ConsoleFormatter)
|
|
|
88
92
|
export type ConsoleFormatter = ConsoleFormatter$instance;
|
|
89
93
|
|
|
90
94
|
export interface ConsoleFormatterOptions$instance {
|
|
95
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_Console_ConsoleFormatterOptions: never;
|
|
96
|
+
|
|
91
97
|
IncludeScopes: boolean;
|
|
92
98
|
get TimestampFormat(): string | undefined;
|
|
93
99
|
set TimestampFormat(value: string | undefined);
|
|
@@ -103,6 +109,8 @@ export const ConsoleFormatterOptions: {
|
|
|
103
109
|
export type ConsoleFormatterOptions = ConsoleFormatterOptions$instance;
|
|
104
110
|
|
|
105
111
|
export interface ConsoleLoggerOptions$instance {
|
|
112
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_Console_ConsoleLoggerOptions: never;
|
|
113
|
+
|
|
106
114
|
DisableColors: boolean;
|
|
107
115
|
Format: ConsoleLoggerFormat;
|
|
108
116
|
get FormatterName(): string | undefined;
|
|
@@ -124,7 +132,9 @@ export const ConsoleLoggerOptions: {
|
|
|
124
132
|
|
|
125
133
|
export type ConsoleLoggerOptions = ConsoleLoggerOptions$instance;
|
|
126
134
|
|
|
127
|
-
export interface ConsoleLoggerProvider$instance {
|
|
135
|
+
export interface ConsoleLoggerProvider$instance extends Microsoft_Extensions_Logging_Internal.ILoggerProvider$instance, Microsoft_Extensions_Logging_Internal.ISupportExternalScope$instance {
|
|
136
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_Console_ConsoleLoggerProvider: never;
|
|
137
|
+
|
|
128
138
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_ILoggerProvider: never;
|
|
129
139
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_ISupportExternalScope: never;
|
|
130
140
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
@@ -137,7 +147,7 @@ export interface ConsoleLoggerProvider$instance {
|
|
|
137
147
|
|
|
138
148
|
export const ConsoleLoggerProvider: {
|
|
139
149
|
new(options: IOptionsMonitor_1<ConsoleLoggerOptions>): ConsoleLoggerProvider;
|
|
140
|
-
new(options: IOptionsMonitor_1<ConsoleLoggerOptions>, formatters:
|
|
150
|
+
new(options: IOptionsMonitor_1<ConsoleLoggerOptions>, formatters: IEnumerable_1<ConsoleFormatter>): ConsoleLoggerProvider;
|
|
141
151
|
};
|
|
142
152
|
|
|
143
153
|
|
|
@@ -146,19 +156,19 @@ export interface __ConsoleLoggerProvider$views {
|
|
|
146
156
|
As_ISupportExternalScope(): Microsoft_Extensions_Logging_Internal.ISupportExternalScope$instance;
|
|
147
157
|
}
|
|
148
158
|
|
|
149
|
-
export interface ConsoleLoggerProvider$instance extends Microsoft_Extensions_Logging_Internal.ILoggerProvider$instance, Microsoft_Extensions_Logging_Internal.ISupportExternalScope$instance {}
|
|
150
|
-
|
|
151
159
|
export type ConsoleLoggerProvider = ConsoleLoggerProvider$instance & __ConsoleLoggerProvider$views;
|
|
152
160
|
|
|
153
161
|
|
|
154
162
|
export interface ConsoleLoggerSettings$instance {
|
|
163
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_Console_ConsoleLoggerSettings: never;
|
|
164
|
+
|
|
155
165
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_Console_IConsoleLoggerSettings: never;
|
|
156
166
|
|
|
157
167
|
get ChangeToken(): IChangeToken | undefined;
|
|
158
168
|
set ChangeToken(value: IChangeToken | undefined);
|
|
159
169
|
DisableColors: boolean;
|
|
160
170
|
IncludeScopes: boolean;
|
|
161
|
-
Switches:
|
|
171
|
+
Switches: IDictionary_2<System_Internal.String, LogLevel>;
|
|
162
172
|
Reload(): IConsoleLoggerSettings;
|
|
163
173
|
TryGetSwitch(name: string, level: LogLevel): boolean;
|
|
164
174
|
}
|
|
@@ -177,6 +187,8 @@ export type ConsoleLoggerSettings = ConsoleLoggerSettings$instance & __ConsoleLo
|
|
|
177
187
|
|
|
178
188
|
|
|
179
189
|
export interface JsonConsoleFormatterOptions$instance extends ConsoleFormatterOptions {
|
|
190
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_Console_JsonConsoleFormatterOptions: never;
|
|
191
|
+
|
|
180
192
|
JsonWriterOptions: JsonWriterOptions;
|
|
181
193
|
}
|
|
182
194
|
|
|
@@ -189,6 +201,8 @@ export const JsonConsoleFormatterOptions: {
|
|
|
189
201
|
export type JsonConsoleFormatterOptions = JsonConsoleFormatterOptions$instance;
|
|
190
202
|
|
|
191
203
|
export interface SimpleConsoleFormatterOptions$instance extends ConsoleFormatterOptions {
|
|
204
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_Console_SimpleConsoleFormatterOptions: never;
|
|
205
|
+
|
|
192
206
|
ColorBehavior: LoggerColorBehavior;
|
|
193
207
|
SingleLine: boolean;
|
|
194
208
|
}
|
|
@@ -8,10 +8,12 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import * as Microsoft_Extensions_Logging_Internal from "../../Microsoft.Extensions.Logging/internal/index.js";
|
|
10
10
|
import type { ILogger, ILoggerProvider } from "../../Microsoft.Extensions.Logging/internal/index.js";
|
|
11
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
12
|
-
import type { IDisposable, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System.js";
|
|
11
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
12
|
+
import type { IDisposable, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
13
|
+
|
|
14
|
+
export interface DebugLoggerProvider$instance extends Microsoft_Extensions_Logging_Internal.ILoggerProvider$instance {
|
|
15
|
+
readonly __tsonic_type_Microsoft_Extensions_Logging_Debug_DebugLoggerProvider: never;
|
|
13
16
|
|
|
14
|
-
export interface DebugLoggerProvider$instance {
|
|
15
17
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_ILoggerProvider: never;
|
|
16
18
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
17
19
|
|
|
@@ -29,8 +31,6 @@ export interface __DebugLoggerProvider$views {
|
|
|
29
31
|
As_ILoggerProvider(): Microsoft_Extensions_Logging_Internal.ILoggerProvider$instance;
|
|
30
32
|
}
|
|
31
33
|
|
|
32
|
-
export interface DebugLoggerProvider$instance extends Microsoft_Extensions_Logging_Internal.ILoggerProvider$instance {}
|
|
33
|
-
|
|
34
34
|
export type DebugLoggerProvider = DebugLoggerProvider$instance & __DebugLoggerProvider$views;
|
|
35
35
|
|
|
36
36
|
|