Skip to content
On this page

Creating your own logger

WIP

Documentation is under construction...

typescript
import { createLoggerFactory } from '@neodx/log';

const createLogger = createLoggerFactory({
  defaultParams: {
    meta: {
      app: 'my-app'
    },
    level: 'info',
    name: 'kek-logger',
    target: [
      {
        level: 'error'
      }
    ]
  }
});

Released under the MIT License.