Skip to content

Commit 8d1c285

Browse files
Update
1 parent 698c444 commit 8d1c285

File tree

8 files changed

+59
-30
lines changed

8 files changed

+59
-30
lines changed

lib/entities/MikroLog.d.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,21 @@ export declare class MikroLog {
44
private static metadataConfig;
55
private static event;
66
private static context;
7+
private static debugSamplingLevel;
78
private constructor();
89
static start(input?: MikroLogInput): MikroLog;
9-
static enrich(input: MikroLogInput): void;
1010
static reset(): void;
11-
private loadEnrichedEnvironment;
12-
private produceDynamicMetadata;
11+
static enrich(input: MikroLogInput): void;
12+
setDebugSamplingRate(samplingPercent: number): number;
1313
debug(message: Message): LogOutput;
1414
info(message: Message): LogOutput;
1515
log(message: Message): LogOutput;
1616
warn(message: Message): LogOutput;
1717
error(message: Message): LogOutput;
18+
private initDebugSampleLevel;
19+
private loadEnrichedEnvironment;
20+
private produceDynamicMetadata;
21+
private shouldSampleLog;
1822
private writeLog;
1923
private createLog;
2024
private filterOutput;

lib/entities/MikroLog.js

Lines changed: 49 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/entities/MikroLog.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/entities/metadataUtils.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)