Use internal logger instead of debug/console for logging
Resolve #4104 Resolve #1966 Resolve #1937
This commit is contained in:
parent
3a5867b324
commit
0868c3517f
41 changed files with 136 additions and 109 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import http from './processors/http';
|
||||
import { ILocalUser } from '../models/user';
|
||||
import Logger from '../misc/logger';
|
||||
|
||||
export function createHttpJob(data: any) {
|
||||
return http({ data }, () => {});
|
||||
|
|
@ -15,3 +16,5 @@ export function deliver(user: ILocalUser, content: any, to: any) {
|
|||
to
|
||||
});
|
||||
}
|
||||
|
||||
export const queueLogger = new Logger('queue');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue