@virmator/core 13.3.2 → 13.3.4
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.
|
@@ -8,3 +8,8 @@ export type PluginLogger = Logger & {
|
|
|
8
8
|
export declare function createPluginLogger(logWriters: Record<LogOutputType, Pick<Socket, 'write'>>, omitNewLines?: boolean | undefined): PluginLogger;
|
|
9
9
|
/** A {@link PluginLogger} implementation that does nothing. */
|
|
10
10
|
export declare const emptyLog: PluginLogger;
|
|
11
|
+
/**
|
|
12
|
+
* The default implementation of a {@link PluginLogger} which simply logs to the running process
|
|
13
|
+
* pipelines.
|
|
14
|
+
*/
|
|
15
|
+
export declare const defaultPluginLogger: PluginLogger;
|
|
@@ -87,3 +87,11 @@ export const emptyLog = createPluginLogger({
|
|
|
87
87
|
},
|
|
88
88
|
},
|
|
89
89
|
});
|
|
90
|
+
/**
|
|
91
|
+
* The default implementation of a {@link PluginLogger} which simply logs to the running process
|
|
92
|
+
* pipelines.
|
|
93
|
+
*/
|
|
94
|
+
export const defaultPluginLogger = createPluginLogger({
|
|
95
|
+
stderr: process.stderr,
|
|
96
|
+
stdout: process.stdout,
|
|
97
|
+
});
|