mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-01-27 21:00:52 +03:00
Use logger instead of console.log
This commit is contained in:
@@ -26,8 +26,7 @@ async function init() {
|
|||||||
const dbMode = config.mysql ? 'mysql'
|
const dbMode = config.mysql ? 'mysql'
|
||||||
: config.postgres ? 'postgres'
|
: config.postgres ? 'postgres'
|
||||||
: 'sqlite'
|
: 'sqlite'
|
||||||
// print database mode
|
Logger.info('Database Mode: ' + dbMode)
|
||||||
console.log('Database Mode: ' + dbMode)
|
|
||||||
|
|
||||||
// Instantiate a Mocha instance.
|
// Instantiate a Mocha instance.
|
||||||
const mocha = new Mocha();
|
const mocha = new Mocha();
|
||||||
|
|||||||
Reference in New Issue
Block a user