baja-lite 1.8.16 → 1.8.17

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/logger.d.ts CHANGED
@@ -8,7 +8,7 @@
8
8
  * - log: ['debug'] 看所有 debug(包括 sql/cache)
9
9
  * - log: ['info'] 标准行为,只看 info+
10
10
  */
11
- export declare const LOG_LEVELS: readonly ["verbose", "sql", "cache", "debug", "info", "log", "warn", "error", "fatal"];
11
+ export declare const LOG_LEVELS: readonly ["verbose", "sql", "cache", "debug", "info", "log", "warn", "error", "fatal", "event"];
12
12
  export type LogLevel = (typeof LOG_LEVELS)[number];
13
13
  export interface LoggerService {
14
14
  log(message: any, ...optionalParams: any[]): any;
package/logger.js CHANGED
@@ -8,7 +8,7 @@
8
8
  * - log: ['debug'] 看所有 debug(包括 sql/cache)
9
9
  * - log: ['info'] 标准行为,只看 info+
10
10
  */
11
- export const LOG_LEVELS = ["verbose", "sql", "cache", "debug", "info", "log", "warn", "error", "fatal"];
11
+ export const LOG_LEVELS = ["verbose", "sql", "cache", "debug", "info", "log", "warn", "error", "fatal", "event"];
12
12
  /**
13
13
  * baja-lite 专用 Logger。接口兼容 NestJS LoggerService,可直接在 NestJS 项目中替换使用。
14
14
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baja-lite",
3
- "version": "1.8.16",
3
+ "version": "1.8.17",
4
4
  "description": "some util for self",
5
5
  "homepage": "https://github.com/void-soul/baja-lite",
6
6
  "repository": {