Skip to content

Pino (Logger) Config

Axe API uses pino for logging.

ts
import { IApplicationConfig } from "axe-api";

const config: IApplicationConfig = {
  pino: {
    level: "debug",
    transport: {
      target: "pino-pretty",
    },
  },
};

export default config;

All of the database configurations are the same as the original documentation.

TIP

pino-pretty is a basic prettifier for Pino log lines. You don't have to use it in your project.

Released under the MIT License.