@hanai/ccusage 18.0.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/LICENSE +21 -0
- package/README.md +187 -0
- package/config-schema.json +708 -0
- package/dist/_types-BFL_bTNX.js +588 -0
- package/dist/calculate-cost-CKH-OC_c.js +23 -0
- package/dist/calculate-cost.d.ts +74 -0
- package/dist/calculate-cost.js +3 -0
- package/dist/data-loader-0-AaQB5-.d.ts +2304 -0
- package/dist/data-loader-C3ndvSiF.js +6016 -0
- package/dist/data-loader.d.ts +2 -0
- package/dist/data-loader.js +4 -0
- package/dist/debug-D_C3L8L7.js +148 -0
- package/dist/debug.d.ts +64 -0
- package/dist/debug.js +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3635 -0
- package/dist/logger-PyTier1E.js +873 -0
- package/dist/logger.d.ts +25 -0
- package/dist/logger.js +2 -0
- package/dist/prompt-XEKR514o.js +843 -0
- package/package.json +54 -0
package/dist/logger.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as consola0 from "consola";
|
|
2
|
+
|
|
3
|
+
//#region src/logger.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @fileoverview Logging utilities for the ccusage application
|
|
7
|
+
*
|
|
8
|
+
* This module provides configured logger instances using consola for consistent
|
|
9
|
+
* logging throughout the application with package name tagging.
|
|
10
|
+
*
|
|
11
|
+
* @module logger
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Application logger instance with package name tag
|
|
15
|
+
*/
|
|
16
|
+
declare const logger: consola0.ConsolaInstance;
|
|
17
|
+
/**
|
|
18
|
+
* Direct console.log function for cases where logger formatting is not desired
|
|
19
|
+
*/
|
|
20
|
+
declare const log: {
|
|
21
|
+
(...data: any[]): void;
|
|
22
|
+
(message?: any, ...optionalParams: any[]): void;
|
|
23
|
+
};
|
|
24
|
+
//#endregion
|
|
25
|
+
export { log, logger };
|
package/dist/logger.js
ADDED