15.0.0 • Published 1 year ago
nightingale-react-native-console v15.0.0
Install
npm install --save nightingale nightingale-react-native-console
Usage
:warn: This logger is meant for dev only.
import { configure, Level } from 'nightingale';
import { ReactNativeConsoleHandler } from 'nightingale-react-native-console';
configure(
process.env.NODE_ENV === 'production'
? []
: [
{
pattern: /^app(:|$)/,
handlers: [new ReactNativeConsoleHandler(Level.DEBUG)],
stop: true,
},
{
handlers: [new ReactNativeConsoleHandler(Level.INFO)],
},
],
);
You can use directly nightingale-app-react-native
to get this config and an ready to use appLogger
.
15.0.0
1 year ago
14.2.0
2 years ago
14.2.1
2 years ago
14.0.0
2 years ago
14.1.0
2 years ago
14.0.1
2 years ago
14.0.2
2 years ago
13.0.0
3 years ago
12.1.2
3 years ago
12.1.3
3 years ago
12.1.4
3 years ago
12.0.0
4 years ago
12.1.0
3 years ago
12.0.1
4 years ago
12.1.1
3 years ago
11.7.3
4 years ago
11.7.4
4 years ago
11.9.0
4 years ago
11.7.2
4 years ago
11.7.1
4 years ago
11.7.0
4 years ago
11.6.0
4 years ago
11.5.2
4 years ago
11.4.0
4 years ago