node-karin 1.9.2 → 1.9.3
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/CHANGELOG.md +7 -0
- package/dist/global.d.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +2547 -2476
- package/dist/{types-BJk0oTwW.d.ts → types-GyuTZPId.d.ts} +5 -0
- package/package.json +1 -1
|
@@ -137,6 +137,11 @@ interface LogWriter {
|
|
|
137
137
|
* @param message - 日志消息
|
|
138
138
|
*/
|
|
139
139
|
write(level: LoggerLevel, message: string): void;
|
|
140
|
+
/**
|
|
141
|
+
* @description 更新配置
|
|
142
|
+
* @param newConfig - 新的配置
|
|
143
|
+
*/
|
|
144
|
+
updateConfig?(newConfig: Partial<FileLogConfig>): void;
|
|
140
145
|
/**
|
|
141
146
|
* @description 关闭输出
|
|
142
147
|
*/
|