@reliverse/relinka 1.3.7 → 1.3.8

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.
Files changed (46) hide show
  1. package/README.md +2 -1
  2. package/bin/{relinka-impl → core-impl}/deprecated/components/levels/levels.d.ts +13 -13
  3. package/bin/{relinka-impl → core-impl}/deprecated/components/modes/basic.d.ts +19 -19
  4. package/bin/{relinka-impl → core-impl}/deprecated/components/modes/browser.d.ts +19 -19
  5. package/bin/{relinka-impl → core-impl}/deprecated/components/modes/shared.d.ts +2 -2
  6. package/bin/{relinka-impl → core-impl}/deprecated/components/relinka-deprecated/logger.d.ts +5 -5
  7. package/bin/{relinka-impl → core-impl}/deprecated/components/relinka-deprecated/mod.d.ts +20 -20
  8. package/bin/{relinka-impl → core-impl}/deprecated/components/relinka-deprecated/relinka.d.ts +140 -141
  9. package/bin/{relinka-impl → core-impl}/deprecated/components/relinka-deprecated/relinka.test.d.ts +1 -1
  10. package/bin/{relinka-impl → core-impl}/deprecated/components/reporters/basic.d.ts +11 -11
  11. package/bin/{relinka-impl → core-impl}/deprecated/components/reporters/browser.d.ts +10 -10
  12. package/bin/{relinka-impl → core-impl}/deprecated/components/reporters/fancy.d.ts +10 -10
  13. package/bin/{relinka-impl → core-impl}/deprecated/utils/box.d.ts +114 -114
  14. package/bin/{relinka-impl → core-impl}/deprecated/utils/deprecatedColors.d.ts +69 -69
  15. package/bin/{relinka-impl → core-impl}/deprecated/utils/error.d.ts +6 -6
  16. package/bin/{relinka-impl → core-impl}/deprecated/utils/format.d.ts +14 -14
  17. package/bin/{relinka-impl → core-impl}/deprecated/utils/log.d.ts +13 -13
  18. package/bin/{relinka-impl → core-impl}/deprecated/utils/stream.d.ts +14 -15
  19. package/bin/{relinka-impl → core-impl}/deprecated/utils/string.d.ts +50 -50
  20. package/bin/{relinka-impl → core-impl}/deprecated/utils/tree.d.ts +41 -41
  21. package/bin/{relinka-impl → core-impl}/impl-mod.d.ts +19 -19
  22. package/bin/{relinka-impl → core-impl}/impl-mod.js +4 -0
  23. package/bin/{relinka-types.d.ts → core-types.d.ts} +193 -194
  24. package/bin/main.d.ts +22 -22
  25. package/bin/main.js +18 -18
  26. package/package.json +3 -3
  27. /package/bin/{relinka-impl → core-impl}/deprecated/components/levels/levels.js +0 -0
  28. /package/bin/{relinka-impl → core-impl}/deprecated/components/modes/basic.js +0 -0
  29. /package/bin/{relinka-impl → core-impl}/deprecated/components/modes/browser.js +0 -0
  30. /package/bin/{relinka-impl → core-impl}/deprecated/components/modes/shared.js +0 -0
  31. /package/bin/{relinka-impl → core-impl}/deprecated/components/relinka-deprecated/logger.js +0 -0
  32. /package/bin/{relinka-impl → core-impl}/deprecated/components/relinka-deprecated/mod.js +0 -0
  33. /package/bin/{relinka-impl → core-impl}/deprecated/components/relinka-deprecated/relinka.js +0 -0
  34. /package/bin/{relinka-impl → core-impl}/deprecated/components/relinka-deprecated/relinka.test.js +0 -0
  35. /package/bin/{relinka-impl → core-impl}/deprecated/components/reporters/basic.js +0 -0
  36. /package/bin/{relinka-impl → core-impl}/deprecated/components/reporters/browser.js +0 -0
  37. /package/bin/{relinka-impl → core-impl}/deprecated/components/reporters/fancy.js +0 -0
  38. /package/bin/{relinka-impl → core-impl}/deprecated/utils/box.js +0 -0
  39. /package/bin/{relinka-impl → core-impl}/deprecated/utils/deprecatedColors.js +0 -0
  40. /package/bin/{relinka-impl → core-impl}/deprecated/utils/error.js +0 -0
  41. /package/bin/{relinka-impl → core-impl}/deprecated/utils/format.js +0 -0
  42. /package/bin/{relinka-impl → core-impl}/deprecated/utils/log.js +0 -0
  43. /package/bin/{relinka-impl → core-impl}/deprecated/utils/stream.js +0 -0
  44. /package/bin/{relinka-impl → core-impl}/deprecated/utils/string.js +0 -0
  45. /package/bin/{relinka-impl → core-impl}/deprecated/utils/tree.js +0 -0
  46. /package/bin/{relinka-types.js → core-types.js} +0 -0
@@ -1,41 +1,41 @@
1
- import { type ColorName } from "./deprecatedColors.js";
2
- export type TreeItemObject = {
3
- /**
4
- * Text of the item
5
- */
6
- text: string;
7
- /**
8
- * Children of the item
9
- */
10
- children?: TreeItem[];
11
- /**
12
- * Color of the item
13
- */
14
- color?: ColorName;
15
- };
16
- export type TreeItem = string | TreeItemObject;
17
- export type TreeOptions = {
18
- /**
19
- * Color of the tree
20
- */
21
- color?: ColorName;
22
- /**
23
- * Prefix of the tree
24
- *
25
- * @default " "
26
- */
27
- prefix?: string;
28
- };
29
- /**
30
- * Formats a hierarchical list of items into a string representing a tree structure.
31
- * Each item in the tree can be a simple string or an object defining the text of the item,
32
- * optional children, and color. The tree structure can be customized with options
33
- * Specify the overall color and the prefix used for indentation and tree lines.
34
- *
35
- * @param {TreeItem[]} items - An array of items to include in the tree. Each item can be
36
- * either a string or an object with `text', `children' and `color' properties.
37
- * @param {TreeOptions} [options] - Optional settings to customize the appearance of the tree, including
38
- * the color of the tree text and the prefix for branches. See {@link TreeOptions}.
39
- * @returns {string} The formatted tree as a string, ready for printing to the console or elsewhere.
40
- */
41
- export declare function formatTree(items: TreeItem[], options?: TreeOptions): string;
1
+ import { type ColorName } from "./deprecatedColors.js";
2
+ export type TreeItemObject = {
3
+ /**
4
+ * Text of the item
5
+ */
6
+ text: string;
7
+ /**
8
+ * Children of the item
9
+ */
10
+ children?: TreeItem[];
11
+ /**
12
+ * Color of the item
13
+ */
14
+ color?: ColorName;
15
+ };
16
+ export type TreeItem = string | TreeItemObject;
17
+ export type TreeOptions = {
18
+ /**
19
+ * Color of the tree
20
+ */
21
+ color?: ColorName;
22
+ /**
23
+ * Prefix of the tree
24
+ *
25
+ * @default " "
26
+ */
27
+ prefix?: string;
28
+ };
29
+ /**
30
+ * Formats a hierarchical list of items into a string representing a tree structure.
31
+ * Each item in the tree can be a simple string or an object defining the text of the item,
32
+ * optional children, and color. The tree structure can be customized with options
33
+ * Specify the overall color and the prefix used for indentation and tree lines.
34
+ *
35
+ * @param {TreeItem[]} items - An array of items to include in the tree. Each item can be
36
+ * either a string or an object with `text', `children' and `color' properties.
37
+ * @param {TreeOptions} [options] - Optional settings to customize the appearance of the tree, including
38
+ * the color of the tree text and the prefix for branches. See {@link TreeOptions}.
39
+ * @returns {string} The formatted tree as a string, ready for printing to the console or elsewhere.
40
+ */
41
+ export declare function formatTree(items: TreeItem[], options?: TreeOptions): string;
@@ -1,19 +1,19 @@
1
- import type { RelinkaConfig, LogLevel } from "../relinka-types.js";
2
- /**
3
- * Promise that resolves once c12 loads and merges the config.
4
- */
5
- export declare const relinkaConfig: Promise<RelinkaConfig>;
6
- /**
7
- * Logs a message synchronously using the current config.
8
- * Skips debug-level logs unless `debug` is true in the config.
9
- */
10
- export declare function relinka(type: LogLevel, message: string, ...args: unknown[]): void;
11
- /**
12
- * Logs a message asynchronously, waiting for the config to be fully loaded.
13
- * Also handles file writing and log cleanup if enabled.
14
- */
15
- export declare function relinkaAsync(type: LogLevel, message: string, ...args: unknown[]): Promise<void>;
16
- /**
17
- * Type helper for user config files.
18
- */
19
- export declare function defineConfig(config: Partial<RelinkaConfig>): Partial<RelinkaConfig>;
1
+ import type { RelinkaConfig, LogLevel } from "../core-types.js";
2
+ /**
3
+ * Promise that resolves once c12 loads and merges the config.
4
+ */
5
+ export declare const relinkaConfig: Promise<RelinkaConfig>;
6
+ /**
7
+ * Logs a message synchronously using the current config.
8
+ * Skips debug-level logs unless `debug` is true in the config.
9
+ */
10
+ export declare function relinka(type: LogLevel | "clear", message: string, ...args: unknown[]): void;
11
+ /**
12
+ * Logs a message asynchronously, waiting for the config to be fully loaded.
13
+ * Also handles file writing and log cleanup if enabled.
14
+ */
15
+ export declare function relinkaAsync(type: LogLevel, message: string, ...args: unknown[]): Promise<void>;
16
+ /**
17
+ * Type helper for user config files.
18
+ */
19
+ export declare function defineConfig(config: Partial<RelinkaConfig>): Partial<RelinkaConfig>;
@@ -263,6 +263,10 @@ async function appendToLogFile(config, absoluteLogFilePath, logMessage) {
263
263
  }
264
264
  }
265
265
  export function relinka(type, message, ...args) {
266
+ if (type === "clear") {
267
+ console.clear();
268
+ return;
269
+ }
266
270
  if (message === "") {
267
271
  console.log();
268
272
  return;
@@ -1,194 +1,193 @@
1
- /// <reference types="node" />
2
- /** Configuration for special directory handling. */
3
- export type RelinkaSpecialDirsConfig = {
4
- distDirNames?: string[];
5
- useParentConfigInDist?: boolean;
6
- };
7
- /** Configuration for directory-related settings. */
8
- export type RelinkaDirsConfig = {
9
- dailyLogs?: boolean;
10
- logDir?: string;
11
- maxLogFiles?: number;
12
- specialDirs?: RelinkaSpecialDirsConfig;
13
- };
14
- /**
15
- * Configuration options for the Relinka logger.
16
- * All properties are optional to allow for partial configuration.
17
- * Defaults will be applied during initialization.
18
- */
19
- export type RelinkaConfig = {
20
- debug?: boolean;
21
- dirs?: RelinkaDirsConfig;
22
- disableColors?: boolean;
23
- logFilePath?: string;
24
- saveLogsToFile?: boolean;
25
- withTimestamp?: boolean;
26
- };
27
- /** Represents information about a log file for cleanup purposes. */
28
- export type LogFileInfo = {
29
- path: string;
30
- mtime: number;
31
- };
32
- /** Log level types used by the logger. */
33
- export type LogLevel = "error" | "info" | "success" | "verbose" | "warn";
34
- /**
35
- * Defines the level of logs as specific numbers or special number types.
36
- *
37
- * @type {0 | 1 | 2 | 3 | 4 | 5 | (number & {})} LogLevelDeprecated - Represents the log level.
38
- * @default 0 - Represents the default log level.
39
- */
40
- export type LogLevelDeprecated = 0 | 1 | 2 | 3 | 4 | 5 | (number & {});
41
- /**
42
- * Lists the types of log messages supported by the system.
43
- *
44
- * @type {"silent" | "fatal" | "error" | "warn" | "log" | "info" | "success" | "fail" | "ready" | "start" | "box" | "debug" | "trace" | "verbose"} LogTypeDeprecated - Represents the specific type of log message.
45
- */
46
- export type LogTypeDeprecated = "silent" | "fatal" | "error" | "warn" | "log" | "info" | "success" | "fail" | "ready" | "start" | "box" | "debug" | "trace" | "verbose";
47
- export type RelinkaOptionsDeprecated = {
48
- /**
49
- * An array of RelinkaReporterDeprecated instances used to handle and output log messages.
50
- */
51
- reporters: RelinkaReporterDeprecated[];
52
- /**
53
- * A record mapping LogTypeDeprecated to InputLogObject, defining the log configuration for each log type.
54
- * See {@link LogTypeDeprecated} and {@link InputLogObject}.
55
- */
56
- types: Record<LogTypeDeprecated, InputLogObject>;
57
- /**
58
- * The minimum log level to output. See {@link LogLevelDeprecated}.
59
- */
60
- level: LogLevelDeprecated;
61
- /**
62
- * Default properties applied to all log messages unless overridden. See {@link InputLogObject}.
63
- */
64
- defaults: InputLogObject;
65
- /**
66
- * The maximum number of times a log message can be repeated within a given timeframe.
67
- */
68
- throttle: number;
69
- /**
70
- * The minimum time in milliseconds that must elapse before a throttled log message can be logged again.
71
- */
72
- throttleMin: number;
73
- /**
74
- * The Node.js writable stream for standard output. See {@link NodeJS.WriteStream}.
75
- * @optional
76
- */
77
- stdout?: NodeJS.WriteStream;
78
- /**
79
- * The Node.js writeable stream for standard error output. See {@link NodeJS.WriteStream}.
80
- * @optional
81
- */
82
- stderr?: NodeJS.WriteStream;
83
- /**
84
- * A function that allows you to mock log messages for testing purposes.
85
- * @optional
86
- */
87
- mockFn?: (type: LogTypeDeprecated, defaults: InputLogObject) => (...args: any) => void;
88
- /**
89
- * Configuration options for formatting log messages. See {@link FormatOptions}.
90
- */
91
- formatOptions: FormatOptions;
92
- };
93
- /**
94
- * @see https://nodejs.org/api/util.html#util_util_inspect_object_showhidden_depth_colors
95
- */
96
- export type FormatOptions = {
97
- /**
98
- * The maximum number of columns to output, affects formatting.
99
- * @optional
100
- */
101
- columns?: number;
102
- /**
103
- * Whether to include timestamp information in log messages.
104
- * @optional
105
- */
106
- date?: boolean;
107
- /**
108
- * Whether to use colors in the output.
109
- * @optional
110
- */
111
- colors?: boolean;
112
- /**
113
- * Specifies whether or not the output should be compact. Accepts a boolean or numeric level of compactness.
114
- * @optional
115
- */
116
- compact?: boolean | number;
117
- /**
118
- * Allows additional custom formatting options.
119
- */
120
- [key: string]: unknown;
121
- };
122
- export type InputLogObject = {
123
- /**
124
- * The logging level of the message. See {@link LogLevelDeprecated}.
125
- * @optional
126
- */
127
- level?: LogLevelDeprecated;
128
- /**
129
- * A string tag to categorize or identify the log message.
130
- * @optional
131
- */
132
- tag?: string;
133
- /**
134
- * The type of log message, which affects how it's processed and displayed. See {@link LogTypeDeprecated}.
135
- * @optional
136
- */
137
- type?: LogTypeDeprecated;
138
- /**
139
- * The main log message text.
140
- * @optional
141
- */
142
- message?: string;
143
- /**
144
- * Additional text or texts to be logged with the message.
145
- * @optional
146
- */
147
- additional?: string | string[];
148
- /**
149
- * Additional arguments to be logged with the message.
150
- * @optional
151
- */
152
- args?: any[];
153
- /**
154
- * The date and time when the log message was created.
155
- * @optional
156
- */
157
- date?: Date;
158
- };
159
- export type LogObject = {
160
- /**
161
- * The logging level of the message, overridden if required. See {@link LogLevelDeprecated}.
162
- */
163
- level: LogLevelDeprecated;
164
- /**
165
- * The type of log message, overridden if required. See {@link LogTypeDeprecated}.
166
- */
167
- type: LogTypeDeprecated;
168
- /**
169
- * A string tag to categorize or identify the log message, overridden if necessary.
170
- */
171
- tag: string;
172
- /**
173
- * Additional arguments to be logged with the message, overridden if necessary.
174
- */
175
- args: any[];
176
- /**
177
- * The date and time the log message was created, overridden if necessary.
178
- */
179
- date: Date;
180
- /**
181
- * Allows additional custom properties to be set on the log object.
182
- */
183
- [key: string]: unknown;
184
- } & InputLogObject;
185
- export type RelinkaReporterDeprecated = {
186
- /**
187
- * Defines how a log message is processed and displayed by this reporter.
188
- * @param logObj The LogObject containing the log information to process. See {@link LogObject}.
189
- * @param ctx An object containing context information such as options. See {@link RelinkaOptionsDeprecated}.
190
- */
191
- log: (logObj: LogObject, ctx: {
192
- options: RelinkaOptionsDeprecated;
193
- }) => void;
194
- };
1
+ /** Configuration for special directory handling. */
2
+ export type RelinkaSpecialDirsConfig = {
3
+ distDirNames?: string[];
4
+ useParentConfigInDist?: boolean;
5
+ };
6
+ /** Configuration for directory-related settings. */
7
+ export type RelinkaDirsConfig = {
8
+ dailyLogs?: boolean;
9
+ logDir?: string;
10
+ maxLogFiles?: number;
11
+ specialDirs?: RelinkaSpecialDirsConfig;
12
+ };
13
+ /**
14
+ * Configuration options for the Relinka logger.
15
+ * All properties are optional to allow for partial configuration.
16
+ * Defaults will be applied during initialization.
17
+ */
18
+ export type RelinkaConfig = {
19
+ debug?: boolean;
20
+ dirs?: RelinkaDirsConfig;
21
+ disableColors?: boolean;
22
+ logFilePath?: string;
23
+ saveLogsToFile?: boolean;
24
+ withTimestamp?: boolean;
25
+ };
26
+ /** Represents information about a log file for cleanup purposes. */
27
+ export type LogFileInfo = {
28
+ path: string;
29
+ mtime: number;
30
+ };
31
+ /** Log level types used by the logger. */
32
+ export type LogLevel = "error" | "info" | "success" | "verbose" | "warn";
33
+ /**
34
+ * Defines the level of logs as specific numbers or special number types.
35
+ *
36
+ * @type {0 | 1 | 2 | 3 | 4 | 5 | (number & {})} LogLevelDeprecated - Represents the log level.
37
+ * @default 0 - Represents the default log level.
38
+ */
39
+ export type LogLevelDeprecated = 0 | 1 | 2 | 3 | 4 | 5 | (number & {});
40
+ /**
41
+ * Lists the types of log messages supported by the system.
42
+ *
43
+ * @type {"silent" | "fatal" | "error" | "warn" | "log" | "info" | "success" | "fail" | "ready" | "start" | "box" | "debug" | "trace" | "verbose"} LogTypeDeprecated - Represents the specific type of log message.
44
+ */
45
+ export type LogTypeDeprecated = "silent" | "fatal" | "error" | "warn" | "log" | "info" | "success" | "fail" | "ready" | "start" | "box" | "debug" | "trace" | "verbose";
46
+ export type RelinkaOptionsDeprecated = {
47
+ /**
48
+ * An array of RelinkaReporterDeprecated instances used to handle and output log messages.
49
+ */
50
+ reporters: RelinkaReporterDeprecated[];
51
+ /**
52
+ * A record mapping LogTypeDeprecated to InputLogObject, defining the log configuration for each log type.
53
+ * See {@link LogTypeDeprecated} and {@link InputLogObject}.
54
+ */
55
+ types: Record<LogTypeDeprecated, InputLogObject>;
56
+ /**
57
+ * The minimum log level to output. See {@link LogLevelDeprecated}.
58
+ */
59
+ level: LogLevelDeprecated;
60
+ /**
61
+ * Default properties applied to all log messages unless overridden. See {@link InputLogObject}.
62
+ */
63
+ defaults: InputLogObject;
64
+ /**
65
+ * The maximum number of times a log message can be repeated within a given timeframe.
66
+ */
67
+ throttle: number;
68
+ /**
69
+ * The minimum time in milliseconds that must elapse before a throttled log message can be logged again.
70
+ */
71
+ throttleMin: number;
72
+ /**
73
+ * The Node.js writable stream for standard output. See {@link NodeJS.WriteStream}.
74
+ * @optional
75
+ */
76
+ stdout?: NodeJS.WriteStream;
77
+ /**
78
+ * The Node.js writeable stream for standard error output. See {@link NodeJS.WriteStream}.
79
+ * @optional
80
+ */
81
+ stderr?: NodeJS.WriteStream;
82
+ /**
83
+ * A function that allows you to mock log messages for testing purposes.
84
+ * @optional
85
+ */
86
+ mockFn?: (type: LogTypeDeprecated, defaults: InputLogObject) => (...args: any) => void;
87
+ /**
88
+ * Configuration options for formatting log messages. See {@link FormatOptions}.
89
+ */
90
+ formatOptions: FormatOptions;
91
+ };
92
+ /**
93
+ * @see https://nodejs.org/api/util.html#util_util_inspect_object_showhidden_depth_colors
94
+ */
95
+ export type FormatOptions = {
96
+ /**
97
+ * The maximum number of columns to output, affects formatting.
98
+ * @optional
99
+ */
100
+ columns?: number;
101
+ /**
102
+ * Whether to include timestamp information in log messages.
103
+ * @optional
104
+ */
105
+ date?: boolean;
106
+ /**
107
+ * Whether to use colors in the output.
108
+ * @optional
109
+ */
110
+ colors?: boolean;
111
+ /**
112
+ * Specifies whether or not the output should be compact. Accepts a boolean or numeric level of compactness.
113
+ * @optional
114
+ */
115
+ compact?: boolean | number;
116
+ /**
117
+ * Allows additional custom formatting options.
118
+ */
119
+ [key: string]: unknown;
120
+ };
121
+ export type InputLogObject = {
122
+ /**
123
+ * The logging level of the message. See {@link LogLevelDeprecated}.
124
+ * @optional
125
+ */
126
+ level?: LogLevelDeprecated;
127
+ /**
128
+ * A string tag to categorize or identify the log message.
129
+ * @optional
130
+ */
131
+ tag?: string;
132
+ /**
133
+ * The type of log message, which affects how it's processed and displayed. See {@link LogTypeDeprecated}.
134
+ * @optional
135
+ */
136
+ type?: LogTypeDeprecated;
137
+ /**
138
+ * The main log message text.
139
+ * @optional
140
+ */
141
+ message?: string;
142
+ /**
143
+ * Additional text or texts to be logged with the message.
144
+ * @optional
145
+ */
146
+ additional?: string | string[];
147
+ /**
148
+ * Additional arguments to be logged with the message.
149
+ * @optional
150
+ */
151
+ args?: any[];
152
+ /**
153
+ * The date and time when the log message was created.
154
+ * @optional
155
+ */
156
+ date?: Date;
157
+ };
158
+ export type LogObject = {
159
+ /**
160
+ * The logging level of the message, overridden if required. See {@link LogLevelDeprecated}.
161
+ */
162
+ level: LogLevelDeprecated;
163
+ /**
164
+ * The type of log message, overridden if required. See {@link LogTypeDeprecated}.
165
+ */
166
+ type: LogTypeDeprecated;
167
+ /**
168
+ * A string tag to categorize or identify the log message, overridden if necessary.
169
+ */
170
+ tag: string;
171
+ /**
172
+ * Additional arguments to be logged with the message, overridden if necessary.
173
+ */
174
+ args: any[];
175
+ /**
176
+ * The date and time the log message was created, overridden if necessary.
177
+ */
178
+ date: Date;
179
+ /**
180
+ * Allows additional custom properties to be set on the log object.
181
+ */
182
+ [key: string]: unknown;
183
+ } & InputLogObject;
184
+ export type RelinkaReporterDeprecated = {
185
+ /**
186
+ * Defines how a log message is processed and displayed by this reporter.
187
+ * @param logObj The LogObject containing the log information to process. See {@link LogObject}.
188
+ * @param ctx An object containing context information such as options. See {@link RelinkaOptionsDeprecated}.
189
+ */
190
+ log: (logObj: LogObject, ctx: {
191
+ options: RelinkaOptionsDeprecated;
192
+ }) => void;
193
+ };
package/bin/main.d.ts CHANGED
@@ -1,22 +1,22 @@
1
- export { LogLevelsDeprecated, LogTypesDeprecated, } from "./relinka-impl/deprecated/components/levels/levels.js";
2
- export { createRelinkaBaseDeprecated, relinkaBasicDeprecated, } from "./relinka-impl/deprecated/components/modes/basic.js";
3
- export { createRelinkaBrowserDeprecatedDeprecated, relinkaBrowserDeprecated, } from "./relinka-impl/deprecated/components/modes/browser.js";
4
- export { relinkaDeprecated } from "./relinka-impl/deprecated/components/relinka-deprecated/logger.js";
5
- export { createRelinkaSharedDeprecated, relinkaInstanceDeprecated, } from "./relinka-impl/deprecated/components/relinka-deprecated/mod.js";
6
- export type { LogFn, RelinkaInstanceDeprecated, } from "./relinka-impl/deprecated/components/relinka-deprecated/relinka.js";
7
- export { RelinkaInterface, createRelinkaDeprecated, } from "./relinka-impl/deprecated/components/relinka-deprecated/relinka.js";
8
- export { BasicReporter } from "./relinka-impl/deprecated/components/reporters/basic.js";
9
- export { BrowserReporter } from "./relinka-impl/deprecated/components/reporters/browser.js";
10
- export { TYPE_COLOR_MAP, LEVEL_COLOR_MAP, FancyReporter, } from "./relinka-impl/deprecated/components/reporters/fancy.js";
11
- export type { BoxBorderStyle, BoxStyle, BoxOpts, } from "./relinka-impl/deprecated/utils/box.js";
12
- export { box } from "./relinka-impl/deprecated/utils/box.js";
13
- export type { ColorName, ColorFunction, } from "./relinka-impl/deprecated/utils/deprecatedColors.js";
14
- export { colors, getColor, colorize, } from "./relinka-impl/deprecated/utils/deprecatedColors.js";
15
- export { parseStack } from "./relinka-impl/deprecated/utils/error.js";
16
- export { compileFormat, formatString, } from "./relinka-impl/deprecated/utils/format.js";
17
- export { isPlainObject, isLogObj, } from "./relinka-impl/deprecated/utils/log.js";
18
- export { writeStream } from "./relinka-impl/deprecated/utils/stream.js";
19
- export { stripAnsi, centerAlign, rightAlign, leftAlign, align, } from "./relinka-impl/deprecated/utils/string.js";
20
- export type { TreeItemObject, TreeItem, TreeOptions, } from "./relinka-impl/deprecated/utils/tree.js";
21
- export { formatTree } from "./relinka-impl/deprecated/utils/tree.js";
22
- export { relinkaConfig, relinka, relinkaAsync, defineConfig, } from "./relinka-impl/impl-mod.js";
1
+ export { LogLevelsDeprecated, LogTypesDeprecated, } from "./core-impl/deprecated/components/levels/levels.js";
2
+ export { createRelinkaBaseDeprecated, relinkaBasicDeprecated, } from "./core-impl/deprecated/components/modes/basic.js";
3
+ export { createRelinkaBrowserDeprecatedDeprecated, relinkaBrowserDeprecated, } from "./core-impl/deprecated/components/modes/browser.js";
4
+ export { relinkaDeprecated } from "./core-impl/deprecated/components/relinka-deprecated/logger.js";
5
+ export { createRelinkaSharedDeprecated, relinkaInstanceDeprecated, } from "./core-impl/deprecated/components/relinka-deprecated/mod.js";
6
+ export type { LogFn, RelinkaInstanceDeprecated, } from "./core-impl/deprecated/components/relinka-deprecated/relinka.js";
7
+ export { RelinkaInterface, createRelinkaDeprecated, } from "./core-impl/deprecated/components/relinka-deprecated/relinka.js";
8
+ export { BasicReporter } from "./core-impl/deprecated/components/reporters/basic.js";
9
+ export { BrowserReporter } from "./core-impl/deprecated/components/reporters/browser.js";
10
+ export { TYPE_COLOR_MAP, LEVEL_COLOR_MAP, FancyReporter, } from "./core-impl/deprecated/components/reporters/fancy.js";
11
+ export type { BoxBorderStyle, BoxStyle, BoxOpts, } from "./core-impl/deprecated/utils/box.js";
12
+ export { box } from "./core-impl/deprecated/utils/box.js";
13
+ export type { ColorName, ColorFunction, } from "./core-impl/deprecated/utils/deprecatedColors.js";
14
+ export { colors, getColor, colorize, } from "./core-impl/deprecated/utils/deprecatedColors.js";
15
+ export { parseStack } from "./core-impl/deprecated/utils/error.js";
16
+ export { compileFormat, formatString, } from "./core-impl/deprecated/utils/format.js";
17
+ export { isPlainObject, isLogObj, } from "./core-impl/deprecated/utils/log.js";
18
+ export { writeStream } from "./core-impl/deprecated/utils/stream.js";
19
+ export { stripAnsi, centerAlign, rightAlign, leftAlign, align, } from "./core-impl/deprecated/utils/string.js";
20
+ export type { TreeItemObject, TreeItem, TreeOptions, } from "./core-impl/deprecated/utils/tree.js";
21
+ export { formatTree } from "./core-impl/deprecated/utils/tree.js";
22
+ export { relinkaConfig, relinka, relinkaAsync, defineConfig, } from "./core-impl/impl-mod.js";