2.3.2 • Published 1 year ago

colorful-feathers-profiler v2.3.2

Weekly downloads
10
License
ISC
Repository
github
Last release
1 year ago

Colorful Feathers Profiler

A wrapper around feathers-profiler making profiling logs slightly more human readable.

Installation

  1. Install
npm install colorful-feathers-profiler
  1. Add the profiler to your Feathers app:
import Feathers from '@feathersjs/feathers';
import FeathersProfiler from 'colorful-feathers-profiler';

const App = Feathers();

App.configure(FeathersProfiler({
    enabled: true, // Use to turn off the profiler in environments where it doesn't make sense.
    logger: console, // (optional) specify to use your own logger interface.
    logStyle: 'object' // (optional) will log metadata objects instead of plaintext messages to the console. 
    // Intended to be plugged into Winson.
}))
  1. Enjoy!

Console Preview

License

This repository is licensed under the ISC license.

Copyright (c) 2020, Jørgen Vatle.

2.3.0

1 year ago

2.3.2

1 year ago

2.3.1

1 year ago

2.2.0

1 year ago

2.1.0

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.1.0

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago