@stacksjs/logging 0.58.72 → 0.59.1
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 +23 -0
- package/dist/index.js +1801 -11
- package/package.json +4 -1
- package/src/index.ts +17 -6
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { consola } from 'consola';
|
|
2
|
+
import type { Prompt } from '@stacksjs/cli';
|
|
3
|
+
export declare function logLevel(): any;
|
|
4
|
+
export declare const logger: import("consola/core").ConsolaInstance;
|
|
5
|
+
export { consola };
|
|
6
|
+
export declare const logFilePath: any;
|
|
7
|
+
export interface Log {
|
|
8
|
+
info: (...args: any[]) => void;
|
|
9
|
+
success: (msg: string) => void;
|
|
10
|
+
error: (err: string | Error, options?: any | Error) => void;
|
|
11
|
+
warn: (arg: string) => void;
|
|
12
|
+
debug: (...args: any[]) => void;
|
|
13
|
+
start: any;
|
|
14
|
+
box: any;
|
|
15
|
+
prompt: Prompt;
|
|
16
|
+
dump: (...args: any[]) => void;
|
|
17
|
+
dd: (...args: any[]) => void;
|
|
18
|
+
echo: (...args: any[]) => void;
|
|
19
|
+
}
|
|
20
|
+
export declare const log: Log;
|
|
21
|
+
export declare function dump(...args: any[]): void;
|
|
22
|
+
export declare function dd(...args: any[]): void;
|
|
23
|
+
export declare function echo(...args: any[]): void;
|