aboutsummaryrefslogtreecommitdiffhomepage
path: root/packages/peertube-runner/shared/logger.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/peertube-runner/shared/logger.ts')
-rw-r--r--packages/peertube-runner/shared/logger.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/peertube-runner/shared/logger.ts b/packages/peertube-runner/shared/logger.ts
new file mode 100644
index 000000000..bf0f41828
--- /dev/null
+++ b/packages/peertube-runner/shared/logger.ts
@@ -0,0 +1,12 @@
1import { pino } from 'pino'
2import pretty from 'pino-pretty'
3
4const logger = pino(pretty({
5 colorize: true
6}))
7
8logger.level = 'info'
9
10export {
11 logger
12}