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

11 lines
271 B
TypeScript
Raw Normal View History

2023-04-21 15:05:27 +02:00
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)
}
}