Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fast-node-logger

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-node-logger - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

7

CHANGELOG.md

@@ -5,2 +5,9 @@ ### Changelog

#### [v3.0.2](https://github.com/saostad/fast-node-logger/compare/v3.0.1...v3.0.2)
> 16 August 2022
- pkg: updated [`59ca532`](https://github.com/saostad/fast-node-logger/commit/59ca5322976cd6997692200cb947af60f35433b7)
- doc: change log [`67c7d0c`](https://github.com/saostad/fast-node-logger/commit/67c7d0cb2f326387b166ed98357e95a7218f7e88)
#### [v3.0.1](https://github.com/saostad/fast-node-logger/compare/v3.0.0...v3.0.1)

@@ -7,0 +14,0 @@

4

package.json
{
"name": "fast-node-logger",
"version": "3.0.2",
"version": "3.0.3",
"description": "fast file logger base on pino",

@@ -68,5 +68,5 @@ "repository": {

"pino": "^8.4.1",
"pino-pretty": "^9.0.0",
"pino-pretty": "^9.0.1",
"rimraf": "^3.0.2"
}
}

@@ -1,15 +0,15 @@

### A very opinionated file logger and rotation, base on [pino](https://www.npmjs.com/package/pino).
### An opinionated file logger with limited rotation policy options, base on [pino](https://www.npmjs.com/package/pino).
this package provides:
- quick start with default configuration
- an instance of [pino](https://www.npmjs.com/package/pino) logger
- most flexibility of pino with options and prettify the output
- create a new file in `logs` folder of root directory.
- delete old log files
- type safe with typescript
- quick start with default configuration.
- an instance of [pino](https://www.npmjs.com/package/pino) logger.
- flexibility of pino with options and prettify the output.
- create log files in `logs` directory of root project directory.
- delete old log files.
- type safe with typescript.
## Notice:
this is very opinionated package that limit the flexibility of awesome [pino](https://www.npmjs.com/package/pino) package. if you need full functionality please use original package.
This is an opinionated package that limit the flexibility of awesome [pino](https://www.npmjs.com/package/pino) package. if you need full functionality please use original package.

@@ -25,2 +25,6 @@ ## Quick Start

## VSCode extension
You can use the complimentary extension for VSCode [writelog-snippets](https://marketplace.visualstudio.com/items?itemName=saostad.writelog-snippets).
## Customization

@@ -30,3 +34,3 @@

const options: Options = {
logDir: "./logs",
logDir: "./my-logs",
retentionTime: 604800, // for 7 days

@@ -48,3 +52,2 @@ };

level: "trace",
prettyPrint: { colorize: true, translateTime: "SYS:standard" },
};

@@ -51,0 +54,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc