@powerlines/core 0.46.3 → 0.46.5
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 +5 -0
- package/dist/constants/index.d.cts +2 -2
- package/dist/constants/index.d.mts +2 -2
- package/dist/constants/index.mjs +2 -2
- package/dist/constants/log-level.cjs +50 -4
- package/dist/constants/log-level.d.cts +27 -4
- package/dist/constants/log-level.d.cts.map +1 -1
- package/dist/constants/log-level.d.mts +27 -4
- package/dist/constants/log-level.d.mts.map +1 -1
- package/dist/constants/log-level.mjs +45 -4
- package/dist/constants/log-level.mjs.map +1 -1
- package/dist/index.cjs +0 -6
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -3
- package/dist/plugin-utils/context-helpers.cjs +22 -12
- package/dist/plugin-utils/context-helpers.d.cts +9 -1
- package/dist/plugin-utils/context-helpers.d.cts.map +1 -1
- package/dist/plugin-utils/context-helpers.d.mts +9 -1
- package/dist/plugin-utils/context-helpers.d.mts.map +1 -1
- package/dist/plugin-utils/context-helpers.mjs +22 -13
- package/dist/plugin-utils/context-helpers.mjs.map +1 -1
- package/dist/plugin-utils/index.cjs +1 -0
- package/dist/plugin-utils/index.d.cts +2 -2
- package/dist/plugin-utils/index.d.mts +2 -2
- package/dist/plugin-utils/index.mjs +2 -2
- package/dist/plugin-utils/logging.cjs +21 -19
- package/dist/plugin-utils/logging.d.cts.map +1 -1
- package/dist/plugin-utils/logging.d.mts.map +1 -1
- package/dist/plugin-utils/logging.mjs +5 -3
- package/dist/plugin-utils/logging.mjs.map +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/logging.d.cts +2 -23
- package/dist/types/logging.d.cts.map +1 -1
- package/dist/types/logging.d.mts +2 -23
- package/dist/types/logging.d.mts.map +1 -1
- package/package.json +2 -2
- package/dist/types/index.cjs +0 -1
- package/dist/types/index.mjs +0 -3
- package/dist/types/logging.cjs +0 -48
- package/dist/types/logging.mjs +0 -45
- package/dist/types/logging.mjs.map +0 -1
package/dist/types/logging.d.mts
CHANGED
|
@@ -1,31 +1,10 @@
|
|
|
1
|
+
import { LOG_CATEGORIES, LOG_LEVELS } from "../constants/log-level.mjs";
|
|
1
2
|
import { Mode } from "./config.mjs";
|
|
2
3
|
import { UnpluginMessage } from "unplugin";
|
|
3
4
|
import { PartialKeys, RequiredKeys } from "@stryke/types/base";
|
|
4
5
|
|
|
5
6
|
//#region src/types/logging.d.ts
|
|
6
|
-
declare const LogLevels: {
|
|
7
|
-
readonly SILENT: "silent";
|
|
8
|
-
readonly ERROR: "error";
|
|
9
|
-
readonly WARN: "warn";
|
|
10
|
-
readonly INFO: "info";
|
|
11
|
-
readonly DEBUG: "debug";
|
|
12
|
-
readonly TRACE: "trace";
|
|
13
|
-
};
|
|
14
|
-
declare const LOG_LEVELS: readonly ["silent", "error", "warn", "info", "debug", "trace"];
|
|
15
7
|
type LogLevel = (typeof LOG_LEVELS)[number];
|
|
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
|
-
declare const LOG_CATEGORIES: readonly ["general", "fs", "performance", "config", "plugins", "hooks", "env", "ipc", "network", "babel"];
|
|
29
8
|
type LogCategory = (typeof LOG_CATEGORIES)[number];
|
|
30
9
|
interface LogMeta {
|
|
31
10
|
/**
|
|
@@ -177,5 +156,5 @@ declare type __ΩCustomLogger = any[];
|
|
|
177
156
|
declare type __ΩLogLevelUserConfig = any[];
|
|
178
157
|
declare type __ΩLogLevelResolvedConfig = any[];
|
|
179
158
|
//#endregion
|
|
180
|
-
export { CustomLogger, CustomLoggerMessage,
|
|
159
|
+
export { CustomLogger, CustomLoggerMessage, LogCategory, LogFn, LogFnMeta, LogFnOptions, LogLevel, LogLevelResolvedConfig, LogLevelUserConfig, LogMessage, LogMeta, Logger, LoggerMessage, LoggerMeta, LoggerOptions, PowerlinesMessage, __ΩCustomLogger, __ΩCustomLoggerMessage, __ΩLogCategory, __ΩLogFn, __ΩLogFnMeta, __ΩLogFnOptions, __ΩLogLevel, __ΩLogLevelResolvedConfig, __ΩLogLevelUserConfig, __ΩLogMessage, __ΩLogMeta, __ΩLogger, __ΩLoggerMessage, __ΩLoggerMeta, __ΩLoggerOptions, __ΩPowerlinesMessage };
|
|
181
160
|
//# sourceMappingURL=logging.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logging.d.mts","names":[],"sources":["../../src/types/logging.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"logging.d.mts","names":[],"sources":["../../src/types/logging.ts"],"mappings":";;;;;;KAuBY,QAAA,WAAmB,UAAA;AAAA,KAEnB,WAAA,WAAsB,cAAA;AAAA,UAEjB,OAAA;EAJG;;;EAQlB,KAAA;EANU;;;EAUV,IAAA,EAAM,QAAA;EAVwC;AAEhD;;EAYE,QAAA,EAAU,WAAA;EAAW;;;EAIrB,SAAA;EAJA;;;EAQA,IAAA;EAIA;;;EAAA,WAAA;EAgBA;;;EAZA,cAAA;EA0BK;;AAGP;EAzBE,OAAA;;;;EAIA,IAAA;EAyBO;;;EArBP,WAAA;EAiByB;;;EAbzB,MAAA;EAiBO;;;EAbP,MAAA;EAc6B;AAG/B;;;;EAXE,KAAA;AAAA;AAAA,KAGU,YAAA,GAAe,IAAA,CACzB,OAAA,CAAQ,OAAA;EAGR,IAAA,GAAO,IAAA;EACP,QAAA,GAAW,kBAAA;AAAA;AAAA,KAGD,SAAA,GACR,QAAA,GACA,WAAA,CAAY,OAAA;AAAA,KAEJ,KAAA,IAAS,IAAA,EAAM,SAAA,EAAW,OAAA;AAAA,KAE1B,UAAA,GAAa,WAAA,CACvB,IAAA,CAAK,OAAA;AAAA,KAIK,aAAA,GAAgB,IAAA,CAAK,UAAA;EAC/B,IAAA,GAAO,IAAA;EACP,QAAA,GAAW,kBAAA;AAAA;AAAA,UAGI,iBAAA,gBAAiC,eAAA;EAChD,IAAA,EAAM,KAAA;AAAA;AAAA,KAGI,UAAA,GAAa,iBAAA,CAAkB,OAAA,CAAQ,OAAA;;AAdnD;;KAmBY,aAAA,GAAgB,iBAAA,CAAkB,UAAA;;;;UAK7B,MAAA;EACf,OAAA,EAAS,aAAA;EACT,KAAA,GAAQ,OAAA,WAAkB,aAAA;EAC1B,IAAA,GAAO,OAAA,WAAkB,aAAA;EACzB,IAAA,GAAO,OAAA,WAAkB,aAAA;EACzB,KAAA,GAAQ,OAAA,WAAkB,aAAA;EAC1B,KAAA,GAAQ,OAAA,WAAkB,aAAA;EAC1B,GAAA,GAAM,IAAA,EAAM,QAAA,EAAU,OAAA,WAAkB,aAAA;AAAA;;;;KAM9B,mBAAA,GAAsB,iBAAA,CAAkB,IAAA,CAAK,OAAA;;;;UAKxC,YAAA;EArCgB;;;;;;EA4C/B,KAAA,IAAS,OAAA,EAAS,mBAAA;EAvCH;;;;;;EA8Cf,IAAA,IAAQ,OAAA,EAAS,mBAAA;EA7CX;;;AAGR;;;EAiDE,IAAA,IAAQ,OAAA,EAAS,mBAAA;EAjDwB;;;;;;EAwDzC,KAAA,IAAS,OAAA,EAAS,mBAAA;EAxDsC;;AAK1D;;;;EA0DE,KAAA,IAAS,OAAA,EAAS,mBAAA;AAAA;AAAA,KAGR,kBAAA,GACR,QAAA,GACA,YAAA,CACE,OAAA,CAAQ,MAAA,CAAO,WAAA,EAAa,QAAA;AAAA,KAItB,sBAAA,GAAyB,MAAA,CAAO,WAAA,EAAa,QAAA;AAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/core",
|
|
3
|
-
"version": "0.46.
|
|
3
|
+
"version": "0.46.5",
|
|
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",
|
|
@@ -238,5 +238,5 @@
|
|
|
238
238
|
"typescript": "^6.0.3"
|
|
239
239
|
},
|
|
240
240
|
"publishConfig": { "access": "public" },
|
|
241
|
-
"gitHead": "
|
|
241
|
+
"gitHead": "9af888c54e58a82744cc334a6b80da52429fa0ac"
|
|
242
242
|
}
|
package/dist/types/index.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const require_logging = require('./logging.cjs');
|
package/dist/types/index.mjs
DELETED
package/dist/types/logging.cjs
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region src/types/logging.ts
|
|
3
|
-
const LogLevels = {
|
|
4
|
-
SILENT: "silent",
|
|
5
|
-
ERROR: "error",
|
|
6
|
-
WARN: "warn",
|
|
7
|
-
INFO: "info",
|
|
8
|
-
DEBUG: "debug",
|
|
9
|
-
TRACE: "trace"
|
|
10
|
-
};
|
|
11
|
-
const LOG_LEVELS = [
|
|
12
|
-
LogLevels.SILENT,
|
|
13
|
-
LogLevels.ERROR,
|
|
14
|
-
LogLevels.WARN,
|
|
15
|
-
LogLevels.INFO,
|
|
16
|
-
LogLevels.DEBUG,
|
|
17
|
-
LogLevels.TRACE
|
|
18
|
-
];
|
|
19
|
-
const LogCategories = {
|
|
20
|
-
GENERAL: "general",
|
|
21
|
-
FS: "fs",
|
|
22
|
-
PERFORMANCE: "performance",
|
|
23
|
-
CONFIG: "config",
|
|
24
|
-
PLUGINS: "plugins",
|
|
25
|
-
HOOKS: "hooks",
|
|
26
|
-
ENV: "env",
|
|
27
|
-
IPC: "ipc",
|
|
28
|
-
BABEL: "babel",
|
|
29
|
-
NETWORK: "network"
|
|
30
|
-
};
|
|
31
|
-
const LOG_CATEGORIES = [
|
|
32
|
-
LogCategories.GENERAL,
|
|
33
|
-
LogCategories.FS,
|
|
34
|
-
LogCategories.PERFORMANCE,
|
|
35
|
-
LogCategories.CONFIG,
|
|
36
|
-
LogCategories.PLUGINS,
|
|
37
|
-
LogCategories.HOOKS,
|
|
38
|
-
LogCategories.ENV,
|
|
39
|
-
LogCategories.IPC,
|
|
40
|
-
LogCategories.NETWORK,
|
|
41
|
-
LogCategories.BABEL
|
|
42
|
-
];
|
|
43
|
-
|
|
44
|
-
//#endregion
|
|
45
|
-
exports.LOG_CATEGORIES = LOG_CATEGORIES;
|
|
46
|
-
exports.LOG_LEVELS = LOG_LEVELS;
|
|
47
|
-
exports.LogCategories = LogCategories;
|
|
48
|
-
exports.LogLevels = LogLevels;
|
package/dist/types/logging.mjs
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
//#region src/types/logging.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 LOG_LEVELS = [
|
|
11
|
-
LogLevels.SILENT,
|
|
12
|
-
LogLevels.ERROR,
|
|
13
|
-
LogLevels.WARN,
|
|
14
|
-
LogLevels.INFO,
|
|
15
|
-
LogLevels.DEBUG,
|
|
16
|
-
LogLevels.TRACE
|
|
17
|
-
];
|
|
18
|
-
const LogCategories = {
|
|
19
|
-
GENERAL: "general",
|
|
20
|
-
FS: "fs",
|
|
21
|
-
PERFORMANCE: "performance",
|
|
22
|
-
CONFIG: "config",
|
|
23
|
-
PLUGINS: "plugins",
|
|
24
|
-
HOOKS: "hooks",
|
|
25
|
-
ENV: "env",
|
|
26
|
-
IPC: "ipc",
|
|
27
|
-
BABEL: "babel",
|
|
28
|
-
NETWORK: "network"
|
|
29
|
-
};
|
|
30
|
-
const LOG_CATEGORIES = [
|
|
31
|
-
LogCategories.GENERAL,
|
|
32
|
-
LogCategories.FS,
|
|
33
|
-
LogCategories.PERFORMANCE,
|
|
34
|
-
LogCategories.CONFIG,
|
|
35
|
-
LogCategories.PLUGINS,
|
|
36
|
-
LogCategories.HOOKS,
|
|
37
|
-
LogCategories.ENV,
|
|
38
|
-
LogCategories.IPC,
|
|
39
|
-
LogCategories.NETWORK,
|
|
40
|
-
LogCategories.BABEL
|
|
41
|
-
];
|
|
42
|
-
|
|
43
|
-
//#endregion
|
|
44
|
-
export { LOG_CATEGORIES, LOG_LEVELS, LogCategories, LogLevels };
|
|
45
|
-
//# sourceMappingURL=logging.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logging.mjs","names":[],"sources":["../../src/types/logging.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 { UnpluginMessage } from \"unplugin\";\nimport { Mode } from \"./config\";\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 LOG_LEVELS = [\n LogLevels.SILENT,\n LogLevels.ERROR,\n LogLevels.WARN,\n LogLevels.INFO,\n LogLevels.DEBUG,\n LogLevels.TRACE\n] as const;\n\nexport type LogLevel = (typeof LOG_LEVELS)[number];\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 const LOG_CATEGORIES = [\n LogCategories.GENERAL,\n LogCategories.FS,\n LogCategories.PERFORMANCE,\n LogCategories.CONFIG,\n LogCategories.PLUGINS,\n LogCategories.HOOKS,\n LogCategories.ENV,\n LogCategories.IPC,\n LogCategories.NETWORK,\n LogCategories.BABEL\n] as const;\n\nexport type LogCategory = (typeof LOG_CATEGORIES)[number];\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 of the message, which indicates the severity or importance of the log entry. The log level can be used to filter log messages based on their importance, allowing users to focus on critical issues or relevant information while ignoring less important messages.\n */\n type: 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 * The name of the project or package associated with the log message, which can be used to identify the source of the log entry and provide context for the message.\n */\n name?: string;\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 command identifier to specify the command or task associated with the log message, which can be used to provide additional context about the operation being performed when the log entry was generated.\n */\n command?: string;\n /**\n * Optional hook name to specify the plugin hook associated with the log message, which can be used to provide additional context about the specific plugin hook being executed when the log entry was generated.\n */\n hook?: string;\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 * Indicates whether the log message is related to inter-process communication (IPC).\n *\n * @internal\n */\n $$ipc?: boolean;\n}\n\nexport type LogFnOptions = Omit<\n Partial<LogMeta>,\n \"logId\" | \"timestamp\" | \"name\" | \"type\"\n> & {\n mode?: Mode;\n logLevel?: LogLevelUserConfig;\n};\n\nexport type LogFnMeta =\n | LogLevel\n | PartialKeys<LogMeta, \"logId\" | \"timestamp\" | \"name\" | \"category\">;\n\nexport type LogFn = (meta: LogFnMeta, message: string) => void;\n\nexport type LoggerMeta = PartialKeys<\n Omit<LogMeta, \"type\">,\n \"logId\" | \"timestamp\" | \"name\" | \"category\"\n>;\n\nexport type LoggerOptions = Omit<LoggerMeta, \"logId\" | \"timestamp\" | \"type\"> & {\n mode?: Mode;\n logLevel?: LogLevelUserConfig;\n};\n\nexport interface PowerlinesMessage<TMeta> extends UnpluginMessage {\n meta: TMeta;\n}\n\nexport type LogMessage = PowerlinesMessage<Partial<LogMeta>>;\n\n/**\n * A type representing a log message that can be passed to the logging methods defined in the {@link Logger} interface, which includes the log metadata and message content. This type is used as the parameter for the logging methods defined in the {@link Logger} interface, allowing users to log messages with rich metadata that can be used for filtering, formatting, or other purposes in the logging implementation.\n */\nexport type LoggerMessage = PowerlinesMessage<LoggerMeta>;\n\n/**\n * An internal interface representing a logger instance used within Powerlines for logging messages at various log levels, including \"error\", \"warn\", \"info\", \"debug\", and \"trace\". This interface defines methods for logging messages at each log level, which accept a message parameter that can be either a string or an object containing the log metadata and message content. The logger instance also includes an options property that contains the configuration options used for the logger, such as the source, command, environment, plugin, log level, and other relevant metadata. This interface is intended for internal use within Powerlines and is not meant to be implemented by users directly; instead, users can provide a custom logger that implements the {@link CustomLogger} interface to integrate with Powerlines' logging system.\n */\nexport interface Logger {\n options: LoggerOptions;\n error: (message: string | LoggerMessage) => void;\n warn: (message: string | LoggerMessage) => void;\n info: (message: string | LoggerMessage) => void;\n debug: (message: string | LoggerMessage) => void;\n trace: (message: string | LoggerMessage) => void;\n log: (type: LogLevel, message: string | LoggerMessage) => void;\n}\n\n/**\n * A type representing a log message that can be passed to a custom logger, which includes the log metadata and message content. This type is used as the parameter for the logging methods defined in the {@link CustomLogger} interface, allowing users to log messages with rich metadata that can be used for filtering, formatting, or other purposes in their custom logging implementation.\n */\nexport type CustomLoggerMessage = PowerlinesMessage<Omit<LogMeta, \"type\">>;\n\n/**\n * An interface representing a custom logger that can be provided by the user to override the default logging behavior of Powerlines. This interface defines methods for logging messages at different log levels, including \"error\", \"warn\", \"info\", \"debug\", and \"trace\". Each method accepts a message parameter, which can be either a string or an object containing the log metadata and message content. By implementing this interface, users can integrate their own logging system with Powerlines or customize the logging behavior to suit their specific needs.\n */\nexport interface CustomLogger {\n /**\n * A function to log messages at the \"error\" level, which indicates a serious issue that has caused a failure in the build process or a critical problem that needs immediate attention.\n *\n * @param message - The log message to be recorded, which can be a string or an object containing the log metadata and message content. The log message should provide sufficient information to understand the context and nature of the error being reported.\n * @returns void\n */\n error?: (message: CustomLoggerMessage) => void;\n /**\n * A function to log messages at the \"warn\" level, which indicates a potential issue or a situation that may require attention but does not necessarily cause a failure in the build process.\n *\n * @param message - The log message to be recorded, which can be a string or an object containing the log metadata and message content. The log message should provide sufficient information to understand the context and nature of the warning being reported.\n * @returns void\n */\n warn?: (message: CustomLoggerMessage) => void;\n /**\n * A function to log messages at the \"info\" level, which indicates general informational messages about the build process, such as the start and completion of tasks, configuration details, or other relevant information that may be useful for monitoring the build process.\n *\n * @param message - The log message to be recorded, which can be a string or an object containing the log metadata and message content. The log message should provide sufficient information to understand the context and nature of the informational message being reported.\n * @returns void\n */\n info?: (message: CustomLoggerMessage) => void;\n /**\n * A function to log messages at the \"debug\" level, which indicates detailed debugging information that may be useful for diagnosing issues during development or troubleshooting problems in the build process.\n *\n * @param message - The log message to be recorded, which can be a string or an object containing the log metadata and message content. The log message should provide sufficient information to understand the context and nature of the debug information being reported.\n * @returns void\n */\n debug?: (message: CustomLoggerMessage) => void;\n /**\n * A function to log messages at the \"trace\" level, which indicates very detailed tracing information that may be useful for in-depth analysis of the build process or for tracking the flow of execution through various stages of the build.\n *\n * @param message - The log message to be recorded, which can be a string or an object containing the log metadata and message content. The log message should provide sufficient information to understand the context and nature of the trace information being reported.\n * @returns void\n */\n trace?: (message: CustomLoggerMessage) => void;\n}\n\nexport type LogLevelUserConfig =\n | LogLevel\n | RequiredKeys<\n Partial<Record<LogCategory, LogLevel | boolean | undefined>>,\n \"general\"\n >;\n\nexport type LogLevelResolvedConfig = Record<LogCategory, LogLevel>;\n"],"mappings":";AAsBA,MAAa,YAAY;CACvB,QAAQ;CACR,OAAO;CACP,MAAM;CACN,MAAM;CACN,OAAO;CACP,OAAO;CACR;AAED,MAAa,aAAa;CACxB,UAAU;CACV,UAAU;CACV,UAAU;CACV,UAAU;CACV,UAAU;CACV,UAAU;CACX;AAID,MAAa,gBAAgB;CAC3B,SAAS;CACT,IAAI;CACJ,aAAa;CACb,QAAQ;CACR,SAAS;CACT,OAAO;CACP,KAAK;CACL,KAAK;CACL,OAAO;CACP,SAAS;CACV;AAED,MAAa,iBAAiB;CAC5B,cAAc;CACd,cAAc;CACd,cAAc;CACd,cAAc;CACd,cAAc;CACd,cAAc;CACd,cAAc;CACd,cAAc;CACd,cAAc;CACd,cAAc;CACf"}
|