ログをデータベースに保存して管理画面で見れるように

This commit is contained in:
syuilo
2019-03-02 18:51:59 +09:00
parent f3ceb32a7c
commit 977af0a24d
29 changed files with 326 additions and 99 deletions

View File

@@ -18,7 +18,6 @@ export default db;
* MongoDB native module (officialy)
*/
import * as mongodb from 'mongodb';
import Logger from '../misc/logger';
let mdb: mongodb.Db;
@@ -38,5 +37,3 @@ const nativeDbConn = async (): Promise<mongodb.Db> => {
};
export { nativeDbConn };
export const dbLogger = new Logger('db');