ignore logger file
This commit is contained in:
parent
c55dc28d59
commit
a7445c3520
@ -1,13 +1,7 @@
|
|||||||
import { createWriteStream } from "fs";
|
import pino from "pino";
|
||||||
import pino, { multistream } from "pino";
|
|
||||||
|
|
||||||
// const streams = [
|
|
||||||
// { stream: process.stdout },
|
|
||||||
// { stream: createWriteStream("/logs/logfile.log", { flags: "a" }) },
|
|
||||||
// ];
|
|
||||||
|
|
||||||
// export default pino({}, multistream(streams));
|
|
||||||
|
|
||||||
|
/* c8 ignore start */
|
||||||
export default pino({
|
export default pino({
|
||||||
level: process.env.LOG_LEVEL || "info",
|
level: process.env.LOG_LEVEL || "info",
|
||||||
});
|
});
|
||||||
|
/* c8 ignore stop */
|
||||||
|
Loading…
Reference in New Issue
Block a user