mirror of https://github.com/Nofated095/Q2TG.git
chore: 更改 loglevel
This commit is contained in:
parent
eca61fc5be
commit
a35895ee0c
|
@ -21,7 +21,7 @@ import { randomBytes } from 'crypto';
|
|||
import { escapeXml, gzip, timestamp } from 'icqq/lib/common';
|
||||
import { pb } from 'icqq/lib/core';
|
||||
|
||||
const LOG_LEVEL: LogLevel = process.env.LOG_LEVEL as LogLevel || 'info';
|
||||
const LOG_LEVEL: LogLevel = process.env.LOG_LEVEL as LogLevel || 'warn';
|
||||
|
||||
type MessageHandler = (event: PrivateMessageEvent | GroupMessageEvent) => Promise<boolean | void>
|
||||
|
||||
|
|
|
@ -46,7 +46,6 @@ export default class {
|
|||
await this.getMessages();
|
||||
this.currentStatus = 'getMedia';
|
||||
await this.messagesToTxt();
|
||||
console.log(this.importTxt, this.filesMap);
|
||||
this.currentStatus = 'uploadMessage';
|
||||
await this.updateStatusMessage();
|
||||
await this.importMessagesAndMedia();
|
||||
|
|
|
@ -415,7 +415,6 @@ export default class ForwardService {
|
|||
}<hr hidden="false" style="0" /><summary size="26" color="#777777">请谨慎查看</summary
|
||||
></item><source name="Q2TG" icon="" action="" appid="-1" /></msg>`.replaceAll('\n', ''),
|
||||
});
|
||||
console.log(chain);
|
||||
brief += '[Spoiler 图片]';
|
||||
}
|
||||
else {
|
||||
|
@ -667,7 +666,6 @@ export default class ForwardService {
|
|||
}
|
||||
}
|
||||
tempFiles.forEach(it => it.cleanup());
|
||||
console.log(qqMessages);
|
||||
return qqMessages;
|
||||
}
|
||||
catch (e) {
|
||||
|
|
Loading…
Reference in New Issue