Skip to content
On this page

Pretty printing

WIP

Documentation is under construction...

typescript
import { createLogger, pretty } from '@neodx/log/node';

const logger = createLogger({
  target: pretty()
});

Pretty errors

typescript
import { createLogger, pretty } from '@neodx/log/node';

const logger = createLogger({
  target: pretty({
    prettyErrors: true
  })
});

Configuring pretty errors

typescript
import { createLogger, pretty } from '@neodx/log/node';

const logger = createLogger({
  target: pretty({
    prettyErrors: {
      fullStack: true
    }
  })
});

Badges

Levels

Configuring output

Released under the MIT License.