@stacksjs/logging 0.57.3 → 0.57.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.
- package/dist/index.d.ts +4 -2
- package/dist/index.mjs +4 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import * as consola_core from 'consola/core';
|
|
1
2
|
import * as node_ray from 'node-ray';
|
|
2
|
-
export { consola as log } from 'consola';
|
|
3
3
|
|
|
4
4
|
declare function dump(...args: any[]): node_ray.Ray;
|
|
5
5
|
declare function dd(...args: any[]): node_ray.Ray;
|
|
6
|
+
declare const logger: consola_core.ConsolaInstance;
|
|
7
|
+
declare const log: consola_core.ConsolaInstance;
|
|
6
8
|
|
|
7
|
-
export { dd, dump };
|
|
9
|
+
export { dd, dump, log, logger };
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ray } from 'node-ray';
|
|
2
|
-
|
|
2
|
+
import { consola } from 'consola';
|
|
3
3
|
|
|
4
4
|
function dump(...args) {
|
|
5
5
|
return ray(...args);
|
|
@@ -7,5 +7,7 @@ function dump(...args) {
|
|
|
7
7
|
function dd(...args) {
|
|
8
8
|
return dump(...args).showApp();
|
|
9
9
|
}
|
|
10
|
+
const logger = consola;
|
|
11
|
+
const log = logger;
|
|
10
12
|
|
|
11
|
-
export { dd, dump };
|
|
13
|
+
export { dd, dump, log, logger };
|