@powerlines/core 0.43.30 → 0.44.0
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/dist/constants/index.cjs +4 -0
- package/dist/constants/index.d.cts +2 -1
- package/dist/constants/index.d.mts +2 -1
- package/dist/constants/index.mjs +2 -1
- package/dist/constants/log-level.cjs +43 -0
- package/dist/constants/log-level.d.cts +40 -0
- package/dist/constants/log-level.d.cts.map +1 -0
- package/dist/constants/log-level.d.mts +40 -0
- package/dist/constants/log-level.d.mts.map +1 -0
- package/dist/constants/log-level.mjs +41 -0
- package/dist/constants/log-level.mjs.map +1 -0
- package/dist/index.cjs +6 -3
- package/dist/index.d.cts +5 -4
- package/dist/index.d.mts +5 -4
- package/dist/index.mjs +4 -3
- package/dist/lib/index.cjs +3 -3
- package/dist/lib/index.d.cts +2 -2
- package/dist/lib/index.d.mts +2 -2
- package/dist/lib/index.mjs +3 -3
- package/dist/lib/logger.cjs +29 -22
- package/dist/lib/logger.d.cts +11 -22
- package/dist/lib/logger.d.cts.map +1 -1
- package/dist/lib/logger.d.mts +11 -22
- package/dist/lib/logger.d.mts.map +1 -1
- package/dist/lib/logger.mjs +28 -21
- package/dist/lib/logger.mjs.map +1 -1
- package/dist/lib/unplugin/plugin.cjs +3 -3
- package/dist/lib/unplugin/plugin.mjs +4 -4
- package/dist/lib/unplugin/plugin.mjs.map +1 -1
- package/dist/lib/utilities/index.cjs +1 -1
- package/dist/lib/utilities/index.mjs +1 -1
- package/dist/lib/utilities/write-file.cjs +1 -2
- package/dist/lib/utilities/write-file.d.cts +1 -1
- package/dist/lib/utilities/write-file.d.cts.map +1 -1
- package/dist/lib/utilities/write-file.d.mts +1 -1
- package/dist/lib/utilities/write-file.d.mts.map +1 -1
- package/dist/lib/utilities/write-file.mjs +1 -2
- package/dist/lib/utilities/write-file.mjs.map +1 -1
- package/dist/plugin-utils/index.cjs +3 -2
- package/dist/plugin-utils/index.d.cts +2 -2
- package/dist/plugin-utils/index.d.mts +2 -2
- package/dist/plugin-utils/index.mjs +3 -3
- package/dist/plugin-utils/logging.cjs +54 -1
- package/dist/plugin-utils/logging.d.cts +11 -1
- package/dist/plugin-utils/logging.d.cts.map +1 -1
- package/dist/plugin-utils/logging.d.mts +11 -1
- package/dist/plugin-utils/logging.d.mts.map +1 -1
- package/dist/plugin-utils/logging.mjs +53 -1
- package/dist/plugin-utils/logging.mjs.map +1 -1
- package/dist/types/config.d.cts +30 -23
- package/dist/types/config.d.cts.map +1 -1
- package/dist/types/config.d.mts +30 -23
- package/dist/types/config.d.mts.map +1 -1
- package/dist/types/context.d.cts +95 -19
- package/dist/types/context.d.cts.map +1 -1
- package/dist/types/context.d.mts +95 -19
- package/dist/types/context.d.mts.map +1 -1
- package/dist/types/index.d.cts +3 -2
- package/dist/types/index.d.mts +3 -2
- package/dist/types/log.cjs +26 -0
- package/dist/types/log.d.cts +90 -0
- package/dist/types/log.d.cts.map +1 -0
- package/dist/types/log.d.mts +90 -0
- package/dist/types/log.d.mts.map +1 -0
- package/dist/types/log.mjs +25 -0
- package/dist/types/log.mjs.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { BaseContext } from "./context.cjs";
|
|
2
|
+
import { Mode, WorkspaceConfig } from "./config.cjs";
|
|
3
|
+
import { PartialKeys, RequiredKeys } from "@stryke/types/base";
|
|
4
|
+
|
|
5
|
+
//#region src/types/log.d.ts
|
|
6
|
+
type LogLevel = "silent" | "error" | "warn" | "info" | "debug" | "trace";
|
|
7
|
+
type LogCategory = "general" | "fs" | "performance" | "config" | "plugins" | "hooks" | "env" | "ipc" | "babel" | "network";
|
|
8
|
+
declare const LogLevels: {
|
|
9
|
+
readonly SILENT: "silent";
|
|
10
|
+
readonly ERROR: "error";
|
|
11
|
+
readonly WARN: "warn";
|
|
12
|
+
readonly INFO: "info";
|
|
13
|
+
readonly DEBUG: "debug";
|
|
14
|
+
readonly TRACE: "trace";
|
|
15
|
+
};
|
|
16
|
+
declare const LogCategories: {
|
|
17
|
+
readonly GENERAL: "general";
|
|
18
|
+
readonly FS: "fs";
|
|
19
|
+
readonly PERFORMANCE: "performance";
|
|
20
|
+
readonly CONFIG: "config";
|
|
21
|
+
readonly PLUGINS: "plugins";
|
|
22
|
+
readonly HOOKS: "hooks";
|
|
23
|
+
readonly ENV: "env";
|
|
24
|
+
readonly IPC: "ipc";
|
|
25
|
+
readonly BABEL: "babel";
|
|
26
|
+
readonly NETWORK: "network";
|
|
27
|
+
};
|
|
28
|
+
interface LogMeta {
|
|
29
|
+
/**
|
|
30
|
+
* A unique identifier for the log message, which can be used to correlate related log entries across different parts of the system or different executions.
|
|
31
|
+
*/
|
|
32
|
+
logId: string;
|
|
33
|
+
/**
|
|
34
|
+
* The log level label indicating the severity of the log message.
|
|
35
|
+
*/
|
|
36
|
+
level: LogLevel;
|
|
37
|
+
/**
|
|
38
|
+
* The category of the log message, which can be used to classify and filter log entries based on their purpose or origin.
|
|
39
|
+
*/
|
|
40
|
+
category: LogCategory;
|
|
41
|
+
/**
|
|
42
|
+
* The timestamp when the IPC message was created, represented as the number of milliseconds since the Unix epoch.
|
|
43
|
+
*/
|
|
44
|
+
timestamp: number;
|
|
45
|
+
/**
|
|
46
|
+
* A unique identifier for the current execution instance, which can be used for logging and other purposes to distinguish between different executions in the same process.
|
|
47
|
+
*/
|
|
48
|
+
executionId?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The zero-based index of the current execution within the sequence of executions in the same process.
|
|
51
|
+
*/
|
|
52
|
+
executionIndex?: number;
|
|
53
|
+
/**
|
|
54
|
+
* Optional environment identifier to specify the context or environment in which the message is being processed.
|
|
55
|
+
*/
|
|
56
|
+
environment?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Optional plugin name to specify the source plugin of the log message.
|
|
59
|
+
*/
|
|
60
|
+
plugin?: string;
|
|
61
|
+
/**
|
|
62
|
+
* The name of the logger or source of the log message, which can be used to identify the origin of the log entry.
|
|
63
|
+
*/
|
|
64
|
+
source?: string;
|
|
65
|
+
}
|
|
66
|
+
type Logger = (meta: LogMeta, ...args: string[]) => void;
|
|
67
|
+
type LogFnConfig = Omit<Partial<LogMeta>, "logId" | "level" | "timestamp"> & {
|
|
68
|
+
mode?: Mode;
|
|
69
|
+
command?: string;
|
|
70
|
+
logLevel?: LogLevelUserConfig | LogLevelResolvedConfig;
|
|
71
|
+
colors?: WorkspaceConfig["colors"];
|
|
72
|
+
};
|
|
73
|
+
type LogFnMeta = LogLevel | PartialKeys<LogMeta, "logId" | "category" | "timestamp">;
|
|
74
|
+
type LogFn = (meta: LogFnMeta, ...args: string[]) => void;
|
|
75
|
+
type CreateLoggerFunction<TContext extends BaseContext = BaseContext> = (context: TContext) => Logger;
|
|
76
|
+
type LogLevelUserConfig = LogLevel | RequiredKeys<Record<LogCategory, LogLevel | boolean | undefined>, "general">;
|
|
77
|
+
type LogLevelResolvedConfig = Record<LogCategory, LogLevel>;
|
|
78
|
+
declare type __ΩLogLevel = any[];
|
|
79
|
+
declare type __ΩLogCategory = any[];
|
|
80
|
+
declare type __ΩLogMeta = any[];
|
|
81
|
+
declare type __ΩLogger = any[];
|
|
82
|
+
declare type __ΩLogFnConfig = any[];
|
|
83
|
+
declare type __ΩLogFnMeta = any[];
|
|
84
|
+
declare type __ΩLogFn = any[];
|
|
85
|
+
declare type __ΩCreateLoggerFunction = any[];
|
|
86
|
+
declare type __ΩLogLevelUserConfig = any[];
|
|
87
|
+
declare type __ΩLogLevelResolvedConfig = any[];
|
|
88
|
+
//#endregion
|
|
89
|
+
export { CreateLoggerFunction, LogCategories, LogCategory, LogFn, LogFnConfig, LogFnMeta, LogLevel, LogLevelResolvedConfig, LogLevelUserConfig, LogLevels, LogMeta, Logger, __ΩCreateLoggerFunction, __ΩLogCategory, __ΩLogFn, __ΩLogFnConfig, __ΩLogFnMeta, __ΩLogLevel, __ΩLogLevelResolvedConfig, __ΩLogLevelUserConfig, __ΩLogMeta, __ΩLogger };
|
|
90
|
+
//# sourceMappingURL=log.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"log.d.cts","names":[],"sources":["../../src/types/log.ts"],"mappings":";;;;;KAsBY,QAAA;AAAA,KAEA,WAAA;AAAA,cAYC,SAAA;EAAA;;;;;;;cASA,aAAA;EAAA;;;;;;;;;;;UAaI,OAAA;;AAbjB;;EAiBE,KAAA;EANQ;;;EAUR,KAAA,EAAO,QAAA;;;;EAIP,QAAA,EAAU,WAAA;;;;EAIV,SAAA;;AAhBF;;EAoBE,WAAA;EARqB;;;EAYrB,cAAA;EAZA;;;EAgBA,WAAA;EAJA;;;EAQA,MAAA;EAIM;;AAGR;EAHE,MAAA;AAAA;AAAA,KAGU,MAAA,IAAU,IAAA,EAAM,OAAA,KAAY,IAAA;AAAA,KAE5B,WAAA,GAAc,IAAA,CACxB,OAAA,CAAQ,OAAA;EAGR,IAAA,GAAO,IAAA;EACP,OAAA;EACA,QAAA,GAAW,kBAAA,GAAqB,sBAAA;EAChC,MAAA,GAAS,eAAA;AAAA;AAAA,KAGC,SAAA,GACR,QAAA,GACA,WAAA,CAAY,OAAA;AAAA,KAEJ,KAAA,IAAS,IAAA,EAAM,SAAA,KAAc,IAAA;AAAA,KAE7B,oBAAA,kBAAsC,WAAA,GAAc,WAAA,KAC9D,OAAA,EAAS,QAAA,KACN,MAAA;AAAA,KAEO,kBAAA,GACR,QAAA,GACA,YAAA,CACE,MAAA,CAAO,WAAA,EAAa,QAAA;AAAA,KAId,sBAAA,GAAyB,MAAA,CAAO,WAAA,EAAa,QAAA;AAAA"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { BaseContext } from "./context.mjs";
|
|
2
|
+
import { Mode, WorkspaceConfig } from "./config.mjs";
|
|
3
|
+
import { PartialKeys, RequiredKeys } from "@stryke/types/base";
|
|
4
|
+
|
|
5
|
+
//#region src/types/log.d.ts
|
|
6
|
+
type LogLevel = "silent" | "error" | "warn" | "info" | "debug" | "trace";
|
|
7
|
+
type LogCategory = "general" | "fs" | "performance" | "config" | "plugins" | "hooks" | "env" | "ipc" | "babel" | "network";
|
|
8
|
+
declare const LogLevels: {
|
|
9
|
+
readonly SILENT: "silent";
|
|
10
|
+
readonly ERROR: "error";
|
|
11
|
+
readonly WARN: "warn";
|
|
12
|
+
readonly INFO: "info";
|
|
13
|
+
readonly DEBUG: "debug";
|
|
14
|
+
readonly TRACE: "trace";
|
|
15
|
+
};
|
|
16
|
+
declare const LogCategories: {
|
|
17
|
+
readonly GENERAL: "general";
|
|
18
|
+
readonly FS: "fs";
|
|
19
|
+
readonly PERFORMANCE: "performance";
|
|
20
|
+
readonly CONFIG: "config";
|
|
21
|
+
readonly PLUGINS: "plugins";
|
|
22
|
+
readonly HOOKS: "hooks";
|
|
23
|
+
readonly ENV: "env";
|
|
24
|
+
readonly IPC: "ipc";
|
|
25
|
+
readonly BABEL: "babel";
|
|
26
|
+
readonly NETWORK: "network";
|
|
27
|
+
};
|
|
28
|
+
interface LogMeta {
|
|
29
|
+
/**
|
|
30
|
+
* A unique identifier for the log message, which can be used to correlate related log entries across different parts of the system or different executions.
|
|
31
|
+
*/
|
|
32
|
+
logId: string;
|
|
33
|
+
/**
|
|
34
|
+
* The log level label indicating the severity of the log message.
|
|
35
|
+
*/
|
|
36
|
+
level: LogLevel;
|
|
37
|
+
/**
|
|
38
|
+
* The category of the log message, which can be used to classify and filter log entries based on their purpose or origin.
|
|
39
|
+
*/
|
|
40
|
+
category: LogCategory;
|
|
41
|
+
/**
|
|
42
|
+
* The timestamp when the IPC message was created, represented as the number of milliseconds since the Unix epoch.
|
|
43
|
+
*/
|
|
44
|
+
timestamp: number;
|
|
45
|
+
/**
|
|
46
|
+
* A unique identifier for the current execution instance, which can be used for logging and other purposes to distinguish between different executions in the same process.
|
|
47
|
+
*/
|
|
48
|
+
executionId?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The zero-based index of the current execution within the sequence of executions in the same process.
|
|
51
|
+
*/
|
|
52
|
+
executionIndex?: number;
|
|
53
|
+
/**
|
|
54
|
+
* Optional environment identifier to specify the context or environment in which the message is being processed.
|
|
55
|
+
*/
|
|
56
|
+
environment?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Optional plugin name to specify the source plugin of the log message.
|
|
59
|
+
*/
|
|
60
|
+
plugin?: string;
|
|
61
|
+
/**
|
|
62
|
+
* The name of the logger or source of the log message, which can be used to identify the origin of the log entry.
|
|
63
|
+
*/
|
|
64
|
+
source?: string;
|
|
65
|
+
}
|
|
66
|
+
type Logger = (meta: LogMeta, ...args: string[]) => void;
|
|
67
|
+
type LogFnConfig = Omit<Partial<LogMeta>, "logId" | "level" | "timestamp"> & {
|
|
68
|
+
mode?: Mode;
|
|
69
|
+
command?: string;
|
|
70
|
+
logLevel?: LogLevelUserConfig | LogLevelResolvedConfig;
|
|
71
|
+
colors?: WorkspaceConfig["colors"];
|
|
72
|
+
};
|
|
73
|
+
type LogFnMeta = LogLevel | PartialKeys<LogMeta, "logId" | "category" | "timestamp">;
|
|
74
|
+
type LogFn = (meta: LogFnMeta, ...args: string[]) => void;
|
|
75
|
+
type CreateLoggerFunction<TContext extends BaseContext = BaseContext> = (context: TContext) => Logger;
|
|
76
|
+
type LogLevelUserConfig = LogLevel | RequiredKeys<Record<LogCategory, LogLevel | boolean | undefined>, "general">;
|
|
77
|
+
type LogLevelResolvedConfig = Record<LogCategory, LogLevel>;
|
|
78
|
+
declare type __ΩLogLevel = any[];
|
|
79
|
+
declare type __ΩLogCategory = any[];
|
|
80
|
+
declare type __ΩLogMeta = any[];
|
|
81
|
+
declare type __ΩLogger = any[];
|
|
82
|
+
declare type __ΩLogFnConfig = any[];
|
|
83
|
+
declare type __ΩLogFnMeta = any[];
|
|
84
|
+
declare type __ΩLogFn = any[];
|
|
85
|
+
declare type __ΩCreateLoggerFunction = any[];
|
|
86
|
+
declare type __ΩLogLevelUserConfig = any[];
|
|
87
|
+
declare type __ΩLogLevelResolvedConfig = any[];
|
|
88
|
+
//#endregion
|
|
89
|
+
export { CreateLoggerFunction, LogCategories, LogCategory, LogFn, LogFnConfig, LogFnMeta, LogLevel, LogLevelResolvedConfig, LogLevelUserConfig, LogLevels, LogMeta, Logger, __ΩCreateLoggerFunction, __ΩLogCategory, __ΩLogFn, __ΩLogFnConfig, __ΩLogFnMeta, __ΩLogLevel, __ΩLogLevelResolvedConfig, __ΩLogLevelUserConfig, __ΩLogMeta, __ΩLogger };
|
|
90
|
+
//# sourceMappingURL=log.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"log.d.mts","names":[],"sources":["../../src/types/log.ts"],"mappings":";;;;;KAsBY,QAAA;AAAA,KAEA,WAAA;AAAA,cAYC,SAAA;EAAA;;;;;;;cASA,aAAA;EAAA;;;;;;;;;;;UAaI,OAAA;;AAbjB;;EAiBE,KAAA;EANQ;;;EAUR,KAAA,EAAO,QAAA;;;;EAIP,QAAA,EAAU,WAAA;;;;EAIV,SAAA;;AAhBF;;EAoBE,WAAA;EARqB;;;EAYrB,cAAA;EAZA;;;EAgBA,WAAA;EAJA;;;EAQA,MAAA;EAIM;;AAGR;EAHE,MAAA;AAAA;AAAA,KAGU,MAAA,IAAU,IAAA,EAAM,OAAA,KAAY,IAAA;AAAA,KAE5B,WAAA,GAAc,IAAA,CACxB,OAAA,CAAQ,OAAA;EAGR,IAAA,GAAO,IAAA;EACP,OAAA;EACA,QAAA,GAAW,kBAAA,GAAqB,sBAAA;EAChC,MAAA,GAAS,eAAA;AAAA;AAAA,KAGC,SAAA,GACR,QAAA,GACA,WAAA,CAAY,OAAA;AAAA,KAEJ,KAAA,IAAS,IAAA,EAAM,SAAA,KAAc,IAAA;AAAA,KAE7B,oBAAA,kBAAsC,WAAA,GAAc,WAAA,KAC9D,OAAA,EAAS,QAAA,KACN,MAAA;AAAA,KAEO,kBAAA,GACR,QAAA,GACA,YAAA,CACE,MAAA,CAAO,WAAA,EAAa,QAAA;AAAA,KAId,sBAAA,GAAyB,MAAA,CAAO,WAAA,EAAa,QAAA;AAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
//#region src/types/log.ts
|
|
2
|
+
const LogLevels = {
|
|
3
|
+
SILENT: "silent",
|
|
4
|
+
ERROR: "error",
|
|
5
|
+
WARN: "warn",
|
|
6
|
+
INFO: "info",
|
|
7
|
+
DEBUG: "debug",
|
|
8
|
+
TRACE: "trace"
|
|
9
|
+
};
|
|
10
|
+
const LogCategories = {
|
|
11
|
+
GENERAL: "general",
|
|
12
|
+
FS: "fs",
|
|
13
|
+
PERFORMANCE: "performance",
|
|
14
|
+
CONFIG: "config",
|
|
15
|
+
PLUGINS: "plugins",
|
|
16
|
+
HOOKS: "hooks",
|
|
17
|
+
ENV: "env",
|
|
18
|
+
IPC: "ipc",
|
|
19
|
+
BABEL: "babel",
|
|
20
|
+
NETWORK: "network"
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
export { LogCategories, LogLevels };
|
|
25
|
+
//# sourceMappingURL=log.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"log.mjs","names":[],"sources":["../../src/types/log.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { PartialKeys, RequiredKeys } from \"@stryke/types/base\";\nimport { Mode, WorkspaceConfig } from \"./config\";\nimport { BaseContext } from \"./context\";\n\nexport type LogLevel = \"silent\" | \"error\" | \"warn\" | \"info\" | \"debug\" | \"trace\";\n\nexport type LogCategory =\n | \"general\"\n | \"fs\"\n | \"performance\"\n | \"config\"\n | \"plugins\"\n | \"hooks\"\n | \"env\"\n | \"ipc\"\n | \"babel\"\n | \"network\";\n\nexport const LogLevels = {\n SILENT: \"silent\",\n ERROR: \"error\",\n WARN: \"warn\",\n INFO: \"info\",\n DEBUG: \"debug\",\n TRACE: \"trace\"\n} as const;\n\nexport const LogCategories = {\n GENERAL: \"general\",\n FS: \"fs\",\n PERFORMANCE: \"performance\",\n CONFIG: \"config\",\n PLUGINS: \"plugins\",\n HOOKS: \"hooks\",\n ENV: \"env\",\n IPC: \"ipc\",\n BABEL: \"babel\",\n NETWORK: \"network\"\n} as const;\n\nexport interface LogMeta {\n /**\n * A unique identifier for the log message, which can be used to correlate related log entries across different parts of the system or different executions.\n */\n logId: string;\n /**\n * The log level label indicating the severity of the log message.\n */\n level: LogLevel;\n /**\n * The category of the log message, which can be used to classify and filter log entries based on their purpose or origin.\n */\n category: LogCategory;\n /**\n * The timestamp when the IPC message was created, represented as the number of milliseconds since the Unix epoch.\n */\n timestamp: number;\n /**\n * A unique identifier for the current execution instance, which can be used for logging and other purposes to distinguish between different executions in the same process.\n */\n executionId?: string;\n /**\n * The zero-based index of the current execution within the sequence of executions in the same process.\n */\n executionIndex?: number;\n /**\n * Optional environment identifier to specify the context or environment in which the message is being processed.\n */\n environment?: string;\n /**\n * Optional plugin name to specify the source plugin of the log message.\n */\n plugin?: string;\n /**\n * The name of the logger or source of the log message, which can be used to identify the origin of the log entry.\n */\n source?: string;\n}\n\nexport type Logger = (meta: LogMeta, ...args: string[]) => void;\n\nexport type LogFnConfig = Omit<\n Partial<LogMeta>,\n \"logId\" | \"level\" | \"timestamp\"\n> & {\n mode?: Mode;\n command?: string;\n logLevel?: LogLevelUserConfig | LogLevelResolvedConfig;\n colors?: WorkspaceConfig[\"colors\"];\n};\n\nexport type LogFnMeta =\n | LogLevel\n | PartialKeys<LogMeta, \"logId\" | \"category\" | \"timestamp\">;\n\nexport type LogFn = (meta: LogFnMeta, ...args: string[]) => void;\n\nexport type CreateLoggerFunction<TContext extends BaseContext = BaseContext> = (\n context: TContext\n) => Logger;\n\nexport type LogLevelUserConfig =\n | LogLevel\n | RequiredKeys<\n Record<LogCategory, LogLevel | boolean | undefined>,\n \"general\"\n >;\n\nexport type LogLevelResolvedConfig = Record<LogCategory, LogLevel>;\n"],"mappings":";AAoCA,MAAa,YAAY;CACvB,QAAQ;CACR,OAAO;CACP,MAAM;CACN,MAAM;CACN,OAAO;CACP,OAAO;CACR;AAED,MAAa,gBAAgB;CAC3B,SAAS;CACT,IAAI;CACJ,aAAa;CACb,QAAQ;CACR,SAAS;CACT,OAAO;CACP,KAAK;CACL,KAAK;CACL,OAAO;CACP,SAAS;CACV"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.44.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "An internal core package for Powerlines - please use the `powerlines` package for public usage.",
|
|
6
6
|
"homepage": "https://stormsoftware.com",
|
|
@@ -569,5 +569,5 @@
|
|
|
569
569
|
"typescript": "^6.0.3"
|
|
570
570
|
},
|
|
571
571
|
"publishConfig": { "access": "public" },
|
|
572
|
-
"gitHead": "
|
|
572
|
+
"gitHead": "0c0e8330c47e0ba315ba3367a13a51a576fd9811"
|
|
573
573
|
}
|