12 lines
293 B
TypeScript
12 lines
293 B
TypeScript
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));
|
|
|
|
export default pino({});
|