@trebired/logger 2.0.0 → 2.1.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/CHANGELOG.md +19 -0
- package/README.md +15 -2
- package/dist/core/create_log.d.ts.map +1 -1
- package/dist/core/create_log.js +16 -0
- package/dist/core/create_log.js.map +1 -1
- package/dist/format/console.d.ts.map +1 -1
- package/dist/format/console.js +38 -4
- package/dist/format/console.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/storage/backend/index.d.ts +6 -0
- package/dist/storage/backend/index.d.ts.map +1 -0
- package/dist/storage/backend/index.js +19 -0
- package/dist/storage/backend/index.js.map +1 -0
- package/dist/storage/backend/js.d.ts +4 -0
- package/dist/storage/backend/js.d.ts.map +1 -0
- package/dist/storage/backend/js.js +179 -0
- package/dist/storage/backend/js.js.map +1 -0
- package/dist/storage/backend/native.d.ts +6 -0
- package/dist/storage/backend/native.d.ts.map +1 -0
- package/dist/storage/backend/native.js +89 -0
- package/dist/storage/backend/native.js.map +1 -0
- package/dist/storage/backend/types.d.ts +57 -0
- package/dist/storage/backend/types.d.ts.map +1 -0
- package/dist/storage/backend/types.js +2 -0
- package/dist/storage/backend/types.js.map +1 -0
- package/dist/storage/export.d.ts +5 -0
- package/dist/storage/export.d.ts.map +1 -0
- package/dist/storage/export.js +124 -0
- package/dist/storage/export.js.map +1 -0
- package/dist/storage/partitions/delete.d.ts +5 -0
- package/dist/storage/partitions/delete.d.ts.map +1 -0
- package/dist/storage/partitions/delete.js +121 -0
- package/dist/storage/partitions/delete.js.map +1 -0
- package/dist/storage/partitions/files.d.ts +12 -0
- package/dist/storage/partitions/files.d.ts.map +1 -0
- package/dist/storage/partitions/files.js +142 -0
- package/dist/storage/partitions/files.js.map +1 -0
- package/dist/storage/partitions/internal.d.ts +47 -0
- package/dist/storage/partitions/internal.d.ts.map +1 -0
- package/dist/storage/partitions/internal.js +35 -0
- package/dist/storage/partitions/internal.js.map +1 -0
- package/dist/storage/partitions/markers.d.ts +8 -0
- package/dist/storage/partitions/markers.d.ts.map +1 -0
- package/dist/storage/partitions/markers.js +88 -0
- package/dist/storage/partitions/markers.js.map +1 -0
- package/dist/storage/partitions/public.d.ts +11 -0
- package/dist/storage/partitions/public.d.ts.map +1 -0
- package/dist/storage/partitions/public.js +79 -0
- package/dist/storage/partitions/public.js.map +1 -0
- package/dist/storage/partitions/records.d.ts +9 -0
- package/dist/storage/partitions/records.d.ts.map +1 -0
- package/dist/storage/partitions/records.js +73 -0
- package/dist/storage/partitions/records.js.map +1 -0
- package/dist/storage/partitions/transforms.d.ts +6 -0
- package/dist/storage/partitions/transforms.d.ts.map +1 -0
- package/dist/storage/partitions/transforms.js +59 -0
- package/dist/storage/partitions/transforms.js.map +1 -0
- package/dist/storage/partitions.d.ts +3 -29
- package/dist/storage/partitions.d.ts.map +1 -1
- package/dist/storage/partitions.js +3 -563
- package/dist/storage/partitions.js.map +1 -1
- package/dist/types/browser.d.ts +54 -0
- package/dist/types/browser.d.ts.map +1 -0
- package/dist/types/browser.js +2 -0
- package/dist/types/browser.js.map +1 -0
- package/dist/types/common.d.ts +73 -0
- package/dist/types/common.d.ts.map +1 -0
- package/dist/types/common.js +2 -0
- package/dist/types/common.js.map +1 -0
- package/dist/types/export.d.ts +53 -0
- package/dist/types/export.d.ts.map +1 -0
- package/dist/types/export.js +2 -0
- package/dist/types/export.js.map +1 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/partitions.d.ts +92 -0
- package/dist/types/partitions.d.ts.map +1 -0
- package/dist/types/partitions.js +2 -0
- package/dist/types/partitions.js.map +1 -0
- package/dist/types/query.d.ts +49 -0
- package/dist/types/query.d.ts.map +1 -0
- package/dist/types/query.js +2 -0
- package/dist/types/query.js.map +1 -0
- package/dist/types/server.d.ts +79 -0
- package/dist/types/server.d.ts.map +1 -0
- package/dist/types/server.js +2 -0
- package/dist/types/server.js.map +1 -0
- package/dist/types.d.ts +1 -326
- package/dist/types.d.ts.map +1 -1
- package/native/darwin-arm64.node +0 -0
- package/native/darwin-x64.node +0 -0
- package/native/linux-x64-gnu.node +0 -0
- package/package.json +16 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"browser.js","sourceRoot":"","sources":["../../src/types/browser.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
type LogStreamName = "stdout" | "stderr";
|
|
2
|
+
type LogLevelConfig = {
|
|
3
|
+
weight: number;
|
|
4
|
+
label?: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
stream?: LogStreamName;
|
|
7
|
+
showStack?: boolean;
|
|
8
|
+
bold?: boolean;
|
|
9
|
+
};
|
|
10
|
+
type ConsoleOptions = {
|
|
11
|
+
enabled?: boolean;
|
|
12
|
+
colors?: boolean;
|
|
13
|
+
timestamp?: boolean;
|
|
14
|
+
group?: boolean;
|
|
15
|
+
metadata?: boolean;
|
|
16
|
+
locale?: string;
|
|
17
|
+
};
|
|
18
|
+
type WriteOptions = {
|
|
19
|
+
mode?: "async" | "sync";
|
|
20
|
+
maxQueue?: number;
|
|
21
|
+
overflow?: "drop-newest" | "drop-oldest" | "throw";
|
|
22
|
+
};
|
|
23
|
+
type RetentionOptions = {
|
|
24
|
+
enabled?: boolean;
|
|
25
|
+
maxAgeDays?: number;
|
|
26
|
+
maxPartitions?: number;
|
|
27
|
+
maxFileSize?: string | number;
|
|
28
|
+
compressOldFiles?: boolean;
|
|
29
|
+
cleanupIntervalMs?: number;
|
|
30
|
+
};
|
|
31
|
+
type RedactTransformArgs = {
|
|
32
|
+
path: string;
|
|
33
|
+
key: string;
|
|
34
|
+
value: unknown;
|
|
35
|
+
replacement: string;
|
|
36
|
+
};
|
|
37
|
+
type RedactOptions = {
|
|
38
|
+
paths?: Array<string | RegExp>;
|
|
39
|
+
replacement?: string;
|
|
40
|
+
includeDefaultSensitiveKeys?: boolean;
|
|
41
|
+
transform?: (args: RedactTransformArgs) => unknown;
|
|
42
|
+
};
|
|
43
|
+
type RequestLoggerOptions = {
|
|
44
|
+
group?: string;
|
|
45
|
+
idHeader?: string;
|
|
46
|
+
attach?: boolean;
|
|
47
|
+
};
|
|
48
|
+
type LogOrigin = {
|
|
49
|
+
source: string;
|
|
50
|
+
instance: string | null;
|
|
51
|
+
};
|
|
52
|
+
type LogEntry = {
|
|
53
|
+
recorded_at: string;
|
|
54
|
+
level: string;
|
|
55
|
+
group: string;
|
|
56
|
+
message: string;
|
|
57
|
+
origin: LogOrigin;
|
|
58
|
+
partition?: string | null;
|
|
59
|
+
metadata?: Record<string, unknown>;
|
|
60
|
+
};
|
|
61
|
+
type LogStreamHandler = (entry: LogEntry, context: LogStreamContext) => void;
|
|
62
|
+
type ServerLogStreamContext = {
|
|
63
|
+
runtime: "server";
|
|
64
|
+
dir: string;
|
|
65
|
+
};
|
|
66
|
+
type BrowserTransportContext = {
|
|
67
|
+
runtime: "browser";
|
|
68
|
+
transports: string[];
|
|
69
|
+
};
|
|
70
|
+
type BrowserLogStreamContext = BrowserTransportContext;
|
|
71
|
+
type LogStreamContext = ServerLogStreamContext | BrowserLogStreamContext;
|
|
72
|
+
export type { BrowserLogStreamContext, BrowserTransportContext, ConsoleOptions, LogEntry, LogLevelConfig, LogOrigin, LogStreamContext, LogStreamHandler, LogStreamName, RedactOptions, RedactTransformArgs, RequestLoggerOptions, RetentionOptions, ServerLogStreamContext, WriteOptions, };
|
|
73
|
+
//# sourceMappingURL=common.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/types/common.ts"],"names":[],"mappings":"AAAA,KAAK,aAAa,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEzC,KAAK,cAAc,GAAG;IACpB,MAAM,EAAE,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B,EACtB,YAAY,GACb,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/types/common.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { PartitionTotals } from "./partitions.js";
|
|
2
|
+
type ExportFormat = "tar.gz" | "zip";
|
|
3
|
+
type ExportCommonOptions = {
|
|
4
|
+
outputPath: string;
|
|
5
|
+
format?: ExportFormat;
|
|
6
|
+
overwrite?: boolean;
|
|
7
|
+
};
|
|
8
|
+
type ExportPartitionOptions = ExportCommonOptions;
|
|
9
|
+
type ExportPartitionsOptions = ExportCommonOptions & {
|
|
10
|
+
partitions?: string[];
|
|
11
|
+
};
|
|
12
|
+
type ExportManifestFile = {
|
|
13
|
+
path: string;
|
|
14
|
+
partition: string;
|
|
15
|
+
groupKey: string;
|
|
16
|
+
day: string;
|
|
17
|
+
hour: string;
|
|
18
|
+
level: string;
|
|
19
|
+
compressed: boolean;
|
|
20
|
+
bytes: number;
|
|
21
|
+
rows: number;
|
|
22
|
+
};
|
|
23
|
+
type ExportManifestPartition = {
|
|
24
|
+
name: string;
|
|
25
|
+
total: PartitionTotals;
|
|
26
|
+
last_activity_at: string | null;
|
|
27
|
+
};
|
|
28
|
+
type ExportManifest = {
|
|
29
|
+
version: 1;
|
|
30
|
+
generated_at: string;
|
|
31
|
+
dir: string;
|
|
32
|
+
partitions: string[];
|
|
33
|
+
partition_items: ExportManifestPartition[];
|
|
34
|
+
total: {
|
|
35
|
+
partitions: number;
|
|
36
|
+
files: number;
|
|
37
|
+
logs: number;
|
|
38
|
+
bytes: number;
|
|
39
|
+
};
|
|
40
|
+
files: ExportManifestFile[];
|
|
41
|
+
};
|
|
42
|
+
type ExportResult = {
|
|
43
|
+
path: string;
|
|
44
|
+
format: ExportFormat;
|
|
45
|
+
backend: "native" | "js";
|
|
46
|
+
partitions: string[];
|
|
47
|
+
files: number;
|
|
48
|
+
logs: number;
|
|
49
|
+
bytes: number;
|
|
50
|
+
manifest: ExportManifest;
|
|
51
|
+
};
|
|
52
|
+
export type { ExportFormat, ExportManifest, ExportManifestFile, ExportManifestPartition, ExportPartitionOptions, ExportPartitionsOptions, ExportResult, };
|
|
53
|
+
//# sourceMappingURL=export.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../src/types/export.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,KAAK,YAAY,GAAG,QAAQ,GAAG,KAAK,CAAC;AAErC,KAAK,mBAAmB,GAAG;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,KAAK,sBAAsB,GAAG,mBAAmB,CAAC;AAElD,KAAK,uBAAuB,GAAG,mBAAmB,GAAG;IACnD,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,eAAe,CAAC;IACvB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,OAAO,EAAE,CAAC,CAAC;IACX,YAAY,EAAE,MAAM,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,eAAe,EAAE,uBAAuB,EAAE,CAAC;IAC3C,KAAK,EAAE;QACL,UAAU,EAAE,MAAM,CAAC;QACnB,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,EAAE,kBAAkB,EAAE,CAAC;CAC7B,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,YAAY,CAAC;IACrB,OAAO,EAAE,QAAQ,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,YAAY,EACV,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,YAAY,GACb,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export.js","sourceRoot":"","sources":["../../src/types/export.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type { ExportFormat, ExportManifest, ExportManifestFile, ExportManifestPartition, ExportPartitionOptions, ExportPartitionsOptions, ExportResult, } from "./export.js";
|
|
2
|
+
export type { BrowserLogStreamContext, BrowserTransportContext, ConsoleOptions, LogEntry, LogLevelConfig, LogOrigin, LogStreamContext, LogStreamHandler, LogStreamName, RedactOptions, RedactTransformArgs, RequestLoggerOptions, RetentionOptions, ServerLogStreamContext, WriteOptions, } from "./common.js";
|
|
3
|
+
export type { CopyPartitionOptions, CreatePartitionOptions, DeleteLogFileSummary, DeleteLogsOptions, DeleteLogsResult, DeletePartitionResult, DeletePartitionsOptions, MergePartitionOptions, MovePartitionOptions, PartitionInfo, PartitionNameOptions, PartitionSanitizeOptions, PartitionSanitizer, PartitionTimeValue, PartitionTotals, PromotePartitionOptions, RenamePartitionOptions, SetPartitionOptions, } from "./partitions.js";
|
|
4
|
+
export type { LogPartitionSummary, LogPartitionTotals, LogQueryOptions, LogQueryResult, LogQueryTotals, } from "./query.js";
|
|
5
|
+
export type { CreateLogOptions, LogInstance, LogStats, NormalizedConsoleOptions, NormalizedRetentionOptions, NormalizedWriteOptions, } from "./server.js";
|
|
6
|
+
export type { BrowserBatchOptions, BrowserConsoleTransportOptions, BrowserLogInstance, BrowserLogOptions, BrowserLogStats, BrowserTransport, } from "./browser.js";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,YAAY,GACb,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,uBAAuB,EACvB,uBAAuB,EACvB,cAAc,EACd,QAAQ,EACR,cAAc,EACd,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,mBAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,sBAAsB,EACtB,YAAY,GACb,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,oBAAoB,EACpB,wBAAwB,EACxB,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACV,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,cAAc,GACf,MAAM,YAAY,CAAC;AACpB,YAAY,EACV,gBAAgB,EAChB,WAAW,EACX,QAAQ,EACR,wBAAwB,EACxB,0BAA0B,EAC1B,sBAAsB,GACvB,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,mBAAmB,EACnB,8BAA8B,EAC9B,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,gBAAgB,GACjB,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
type PartitionSanitizer = (value: string) => string;
|
|
2
|
+
type PartitionTimeValue = string | number | Date;
|
|
3
|
+
type PartitionSanitizeOptions = {
|
|
4
|
+
sanitizer?: PartitionSanitizer;
|
|
5
|
+
};
|
|
6
|
+
type PartitionNameOptions = {
|
|
7
|
+
at?: PartitionTimeValue;
|
|
8
|
+
timeZone?: string;
|
|
9
|
+
suffix?: string | null;
|
|
10
|
+
sanitizeSuffix?: PartitionSanitizer | false;
|
|
11
|
+
};
|
|
12
|
+
type CreatePartitionOptions = {
|
|
13
|
+
temporary?: boolean;
|
|
14
|
+
};
|
|
15
|
+
type SetPartitionOptions = {
|
|
16
|
+
temporary?: boolean;
|
|
17
|
+
};
|
|
18
|
+
type PromotePartitionOptions = {
|
|
19
|
+
merge?: boolean;
|
|
20
|
+
};
|
|
21
|
+
type PartitionTotals = {
|
|
22
|
+
logs: number;
|
|
23
|
+
dirs: number;
|
|
24
|
+
files: number;
|
|
25
|
+
bytes: number;
|
|
26
|
+
};
|
|
27
|
+
type PartitionInfo = {
|
|
28
|
+
name: string;
|
|
29
|
+
path: string;
|
|
30
|
+
temporary: boolean;
|
|
31
|
+
created_at: string;
|
|
32
|
+
updated_at: string;
|
|
33
|
+
last_activity_at: string | null;
|
|
34
|
+
total: PartitionTotals;
|
|
35
|
+
};
|
|
36
|
+
type RenamePartitionOptions = {
|
|
37
|
+
from: string;
|
|
38
|
+
to: string;
|
|
39
|
+
};
|
|
40
|
+
type MovePartitionOptions = {
|
|
41
|
+
fromDir: string;
|
|
42
|
+
from: string;
|
|
43
|
+
toDir: string;
|
|
44
|
+
to?: string;
|
|
45
|
+
};
|
|
46
|
+
type CopyPartitionOptions = {
|
|
47
|
+
fromDir: string;
|
|
48
|
+
from: string;
|
|
49
|
+
toDir: string;
|
|
50
|
+
to?: string;
|
|
51
|
+
};
|
|
52
|
+
type MergePartitionOptions = {
|
|
53
|
+
from: string;
|
|
54
|
+
to: string;
|
|
55
|
+
};
|
|
56
|
+
type DeletePartitionsOptions = {
|
|
57
|
+
partitions?: string[];
|
|
58
|
+
temporaryOnly?: boolean;
|
|
59
|
+
olderThanDays?: number;
|
|
60
|
+
};
|
|
61
|
+
type DeletePartitionResult = {
|
|
62
|
+
partitions: number;
|
|
63
|
+
files: number;
|
|
64
|
+
logs: number;
|
|
65
|
+
bytes: number;
|
|
66
|
+
items: string[];
|
|
67
|
+
};
|
|
68
|
+
type DeleteLogsOptions = {
|
|
69
|
+
partition?: string | null;
|
|
70
|
+
acrossPartitions?: boolean;
|
|
71
|
+
groupKey?: string;
|
|
72
|
+
day?: string;
|
|
73
|
+
hour?: string;
|
|
74
|
+
level?: string;
|
|
75
|
+
olderThanDays?: number;
|
|
76
|
+
temporaryOnly?: boolean;
|
|
77
|
+
};
|
|
78
|
+
type DeleteLogFileSummary = {
|
|
79
|
+
path: string;
|
|
80
|
+
partition: string | null;
|
|
81
|
+
logs: number;
|
|
82
|
+
bytes: number;
|
|
83
|
+
};
|
|
84
|
+
type DeleteLogsResult = {
|
|
85
|
+
partitions: number;
|
|
86
|
+
files: number;
|
|
87
|
+
logs: number;
|
|
88
|
+
bytes: number;
|
|
89
|
+
items: DeleteLogFileSummary[];
|
|
90
|
+
};
|
|
91
|
+
export type { CopyPartitionOptions, CreatePartitionOptions, DeleteLogFileSummary, DeleteLogsOptions, DeleteLogsResult, DeletePartitionResult, DeletePartitionsOptions, MergePartitionOptions, MovePartitionOptions, PartitionInfo, PartitionNameOptions, PartitionSanitizeOptions, PartitionSanitizer, PartitionTimeValue, PartitionTotals, PromotePartitionOptions, RenamePartitionOptions, SetPartitionOptions, };
|
|
92
|
+
//# sourceMappingURL=partitions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partitions.d.ts","sourceRoot":"","sources":["../../src/types/partitions.ts"],"names":[],"mappings":"AAAA,KAAK,kBAAkB,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;AAEpD,KAAK,kBAAkB,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AAEjD,KAAK,wBAAwB,GAAG;IAC9B,SAAS,CAAC,EAAE,kBAAkB,CAAC;CAChC,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B,EAAE,CAAC,EAAE,kBAAkB,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,cAAc,CAAC,EAAE,kBAAkB,GAAG,KAAK,CAAC;CAC7C,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC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M,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,oBAAoB,EAAE,CAAC;CAC/B,CAAC;AAEF,YAAY,EACV,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,oBAAoB,EACpB,wBAAwB,EACxB,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,GACpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partitions.js","sourceRoot":"","sources":["../../src/types/partitions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { LogEntry, LogLevelConfig } from "./common.js";
|
|
2
|
+
type LogQueryOptions = {
|
|
3
|
+
level?: string;
|
|
4
|
+
groupKey?: string;
|
|
5
|
+
day?: string;
|
|
6
|
+
hour?: string;
|
|
7
|
+
limit?: number;
|
|
8
|
+
partition?: string | null;
|
|
9
|
+
acrossPartitions?: boolean;
|
|
10
|
+
levels?: Record<string, LogLevelConfig>;
|
|
11
|
+
};
|
|
12
|
+
type LogQueryTotals = {
|
|
13
|
+
logs: number;
|
|
14
|
+
dirs: number;
|
|
15
|
+
files: number;
|
|
16
|
+
};
|
|
17
|
+
type LogPartitionTotals = LogQueryTotals & {
|
|
18
|
+
partitions: number;
|
|
19
|
+
};
|
|
20
|
+
type LogPartitionSummary = {
|
|
21
|
+
partition: string | null;
|
|
22
|
+
count: number;
|
|
23
|
+
total: LogQueryTotals;
|
|
24
|
+
};
|
|
25
|
+
type LogQueryResult = {
|
|
26
|
+
logs: LogEntry[];
|
|
27
|
+
levels: Record<string, LogLevelConfig>;
|
|
28
|
+
metadata: {
|
|
29
|
+
dir: string;
|
|
30
|
+
partition: string | null;
|
|
31
|
+
count: number;
|
|
32
|
+
total: LogQueryTotals;
|
|
33
|
+
query: {
|
|
34
|
+
level: string;
|
|
35
|
+
groupKey: string;
|
|
36
|
+
day: string;
|
|
37
|
+
hour: string;
|
|
38
|
+
limit: number;
|
|
39
|
+
partition: string | null;
|
|
40
|
+
acrossPartitions: boolean;
|
|
41
|
+
};
|
|
42
|
+
partitions: {
|
|
43
|
+
items: LogPartitionSummary[];
|
|
44
|
+
all: LogPartitionTotals;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export type { LogPartitionSummary, LogPartitionTotals, LogQueryOptions, LogQueryResult, LogQueryTotals, };
|
|
49
|
+
//# sourceMappingURL=query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../src/types/query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAE5D,KAAK,eAAe,GAAG;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC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"version":3,"file":"query.js","sourceRoot":"","sources":["../../src/types/query.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import type { ConsoleOptions, LogEntry, LogLevelConfig, RedactOptions, RequestLoggerOptions, RetentionOptions, ServerLogStreamContext, WriteOptions } from "./common.js";
|
|
2
|
+
import type { ExportPartitionOptions, ExportPartitionsOptions, ExportResult } from "./export.js";
|
|
3
|
+
import type { PartitionInfo, PromotePartitionOptions, SetPartitionOptions } from "./partitions.js";
|
|
4
|
+
import type { LogQueryOptions, LogQueryResult } from "./query.js";
|
|
5
|
+
type CreateLogOptions = {
|
|
6
|
+
dir?: string;
|
|
7
|
+
partition?: string;
|
|
8
|
+
temporaryPartition?: boolean;
|
|
9
|
+
save?: boolean;
|
|
10
|
+
console?: boolean | ConsoleOptions;
|
|
11
|
+
quiet?: boolean;
|
|
12
|
+
timeZone?: string;
|
|
13
|
+
source?: string;
|
|
14
|
+
levels?: Record<string, LogLevelConfig>;
|
|
15
|
+
minLevel?: string | number;
|
|
16
|
+
write?: WriteOptions;
|
|
17
|
+
retention?: RetentionOptions;
|
|
18
|
+
redact?: RedactOptions;
|
|
19
|
+
serializers?: Record<string, (value: unknown) => unknown>;
|
|
20
|
+
sample?: number | ((entry: LogEntry) => boolean);
|
|
21
|
+
request?: RequestLoggerOptions;
|
|
22
|
+
};
|
|
23
|
+
type LogStats = {
|
|
24
|
+
mode: "async" | "sync";
|
|
25
|
+
queued: number;
|
|
26
|
+
written: number;
|
|
27
|
+
dropped: number;
|
|
28
|
+
failed: number;
|
|
29
|
+
queueLength: number;
|
|
30
|
+
closed: boolean;
|
|
31
|
+
};
|
|
32
|
+
type LogInstance = Record<string, any> & {
|
|
33
|
+
group(groupName?: string): Record<string, any>;
|
|
34
|
+
withScope(source?: string | null, groupName?: string, instance?: string | number | null): Record<string, any>;
|
|
35
|
+
setEnabled(flag: boolean): void;
|
|
36
|
+
getDir(): string;
|
|
37
|
+
setDir(nextDir: string): void;
|
|
38
|
+
getPartition(): string | null;
|
|
39
|
+
setPartition(partition: string | null, options?: SetPartitionOptions): Promise<void>;
|
|
40
|
+
promotePartition(partition: string, options?: PromotePartitionOptions): Promise<void>;
|
|
41
|
+
exportPartition(partition?: string, options?: Omit<ExportPartitionOptions, "outputPath"> & {
|
|
42
|
+
outputPath: string;
|
|
43
|
+
}): Promise<ExportResult>;
|
|
44
|
+
exportPartitions(options: Omit<ExportPartitionsOptions, "outputPath"> & {
|
|
45
|
+
outputPath: string;
|
|
46
|
+
}): Promise<ExportResult>;
|
|
47
|
+
listPartitions(): Promise<PartitionInfo[]>;
|
|
48
|
+
getPartitionInfo(partition?: string): Promise<PartitionInfo | null>;
|
|
49
|
+
requestLogger(options?: RequestLoggerOptions): (req: any, res: any, next: () => void) => void;
|
|
50
|
+
logError(error: unknown, metadata?: Record<string, unknown>, source?: string): void;
|
|
51
|
+
getAllLogs(options?: LogQueryOptions): Promise<LogQueryResult>;
|
|
52
|
+
getAllLogsAcrossPartitions(options?: LogQueryOptions): Promise<LogQueryResult>;
|
|
53
|
+
flush(): Promise<void>;
|
|
54
|
+
close(): Promise<void>;
|
|
55
|
+
getStats(): LogStats;
|
|
56
|
+
};
|
|
57
|
+
type NormalizedConsoleOptions = {
|
|
58
|
+
enabled: boolean;
|
|
59
|
+
colors: boolean;
|
|
60
|
+
timestamp: boolean;
|
|
61
|
+
group: boolean;
|
|
62
|
+
metadata: boolean;
|
|
63
|
+
locale?: string;
|
|
64
|
+
};
|
|
65
|
+
type NormalizedWriteOptions = {
|
|
66
|
+
mode: "async" | "sync";
|
|
67
|
+
maxQueue: number;
|
|
68
|
+
overflow: "drop-newest" | "drop-oldest" | "throw";
|
|
69
|
+
};
|
|
70
|
+
type NormalizedRetentionOptions = {
|
|
71
|
+
enabled: boolean;
|
|
72
|
+
maxAgeDays: number | null;
|
|
73
|
+
maxPartitions: number | null;
|
|
74
|
+
maxFileSize: number;
|
|
75
|
+
compressOldFiles: boolean;
|
|
76
|
+
cleanupIntervalMs: number;
|
|
77
|
+
};
|
|
78
|
+
export type { CreateLogOptions, LogInstance, LogStats, NormalizedConsoleOptions, NormalizedRetentionOptions, NormalizedWriteOptions, ServerLogStreamContext, };
|
|
79
|
+
//# sourceMappingURL=server.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/types/server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,cAAc,EAAE,aAAa,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AACzK,OAAO,KAAK,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AACjG,OAAO,KAAK,EAAE,aAAa,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACnG,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAElE,KAAK,gBAAgB,GAAG;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,GAAG,cAAc,CAAC;IACnC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IACxC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,WAAW,CAAC,EA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