Skip to content

Commit e01b0c4

Browse files
committed
Revert "Fix logging"
This reverts commit 9e2a9d5. # Conflicts: # main/index.js # renderer/player/index.js
1 parent 5bfaa4e commit e01b0c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main/track-dict.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function makeTrackDict (paths, cb) {
2020

2121
function handleEos (err) {
2222
if (err) return cb(err)
23-
console.log('')
23+
log.info('')
2424
cb(null, newTrackDict)
2525
}
2626
}
@@ -32,7 +32,7 @@ function isValidFile (data, enc, cb) {
3232

3333
function concatTrackDict (obj) {
3434
function writeTrackDict (data, enc, cb) {
35-
console.log(`Scanning ${data.filepath}`)
35+
log.info(`Scanning ${data.filepath}`)
3636
parseMetadata(data, handleMeta)
3737

3838
function handleMeta (err, meta) {
@@ -83,7 +83,7 @@ function parseMetadata (data, cb) {
8383
})
8484
}).catch(err => {
8585
// Ignore errors
86-
console.log(err.message += ` (file: ${filepath})`)
86+
log.info(err.message += ` (file: ${filepath})`)
8787
const { basename } = data
8888
const ext = path.extname(basename)
8989
const title = path.basename(basename, ext)

0 commit comments

Comments
 (0)