aboutsummaryrefslogblamecommitdiffhomepage
path: root/packages/peertube-runner/server/process/shared/transcoding-logger.ts
blob: d0f928914f76dffc0318ea3a77333d109f588064 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                               
import { logger } from 'packages/peertube-runner/shared/logger'

export function getTranscodingLogger () {
  return {
    info: logger.info.bind(logger),
    debug: logger.debug.bind(logger),
    warn: logger.warn.bind(logger),
    error: logger.error.bind(logger)
  }
}