Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelvesavuori committed Oct 1, 2022
1 parent 698c444 commit 8d1c285
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 30 deletions.
10 changes: 7 additions & 3 deletions lib/entities/MikroLog.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,21 @@ export declare class MikroLog {
private static metadataConfig;
private static event;
private static context;
private static debugSamplingLevel;
private constructor();
static start(input?: MikroLogInput): MikroLog;
static enrich(input: MikroLogInput): void;
static reset(): void;
private loadEnrichedEnvironment;
private produceDynamicMetadata;
static enrich(input: MikroLogInput): void;
setDebugSamplingRate(samplingPercent: number): number;
debug(message: Message): LogOutput;
info(message: Message): LogOutput;
log(message: Message): LogOutput;
warn(message: Message): LogOutput;
error(message: Message): LogOutput;
private initDebugSampleLevel;
private loadEnrichedEnvironment;
private produceDynamicMetadata;
private shouldSampleLog;
private writeLog;
private createLog;
private filterOutput;
Expand Down
74 changes: 49 additions & 25 deletions lib/entities/MikroLog.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/entities/MikroLog.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion lib/entities/metadataUtils.js.map

This file was deleted.

File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 8d1c285

Please sign in to comment.