ignore logger file

This commit is contained in:
Maxime Cannoodt 2022-07-09 13:22:36 +02:00
parent c55dc28d59
commit a7445c3520
2 changed files with 6 additions and 12 deletions

View File

@ -1,13 +1,7 @@
import { createWriteStream } from "fs";
import pino, { multistream } from "pino";
// const streams = [
// { stream: process.stdout },
// { stream: createWriteStream("/logs/logfile.log", { flags: "a" }) },
// ];
// export default pino({}, multistream(streams));
import pino from "pino";
/* c8 ignore start */
export default pino({
level: process.env.LOG_LEVEL || "info",
});
/* c8 ignore stop */