@vidavidorra/bunyan-pretty-stream 4.0.0-beta.3 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,3 +2,4 @@ export { default as isBunyanRecord } from './is-record.js';
2
2
  export { type default as BunyanRecord } from './record.js';
3
3
  export { default as coreFields } from './core-fields.js';
4
4
  export { default as fromJsonString } from './from-json-string.js';
5
+ export { default as levels } from './levels.js';
@@ -1,4 +1,5 @@
1
1
  export { default as isBunyanRecord } from './is-record.js';
2
2
  export { default as coreFields } from './core-fields.js';
3
3
  export { default as fromJsonString } from './from-json-string.js';
4
+ export { default as levels } from './levels.js';
4
5
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,3 @@
1
+ import { type LogLevelString } from 'bunyan';
2
+ declare const levels: readonly LogLevelString[];
3
+ export default levels;
@@ -0,0 +1,10 @@
1
+ const levels = [
2
+ 'trace',
3
+ 'debug',
4
+ 'info',
5
+ 'warn',
6
+ 'error',
7
+ 'fatal',
8
+ ];
9
+ export default levels;
10
+ //# sourceMappingURL=levels.js.map
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export { type Logger } from './logger.js';
2
2
  export { PrettyStream } from './bunyan-pretty-stream.js';
3
3
  export type { PublicOptions as Options } from './options.js';
4
+ export { levels } from './bunyan/index.js';
package/dist/index.js CHANGED
@@ -1,2 +1,3 @@
1
1
  export { PrettyStream } from './bunyan-pretty-stream.js';
2
+ export { levels } from './bunyan/index.js';
2
3
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vidavidorra/bunyan-pretty-stream",
3
- "version": "4.0.0-beta.3",
3
+ "version": "4.1.0",
4
4
  "description": "Highly configurable Bunyan stream with pretty output",
5
5
  "type": "module",
6
6
  "exports": "./dist/index.js",