Skip to content

Commit

Permalink
DO-1666: update gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
gowrizrh committed May 31, 2024
1 parent 5854ba2 commit b09bad1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/prerender-fargate/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
!lib/prerender/*
!lib/prerender/**
20 changes: 20 additions & 0 deletions packages/prerender-fargate/lib/prerender/utils/logger.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
"use strict";

const pino = require("pino");

module.exports = pino({
base: undefined,
timestamp: false,
messageKey: "message",
customLevels: {
render: 35,
},
level: process.env.LOG_LEVEL || "info",
formatters: {
level: label => {
return {
level: label,
};
},
},
});

0 comments on commit b09bad1

Please sign in to comment.