PeerTube/packages/peertube-runner/server/process/shared/transcoding-logger.ts

11 lines
271 B
TypeScript

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)
}
}