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

think-logger3

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

think-logger3 - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

.nyc_output/0456d56756343f5b1a52d1549e052e89.json

2

package.json
{
"name": "think-logger3",
"version": "1.0.4",
"version": "1.0.5",
"description": "logger for ThinkJS 3.x",

@@ -5,0 +5,0 @@ "main": "./src",

@@ -21,3 +21,3 @@ # think-logger

```js
const Logger = require('think-logger');
const Logger = require('think-logger3');
let logger = new Logger();

@@ -24,0 +24,0 @@ logger.debug('Hello World');

@@ -8,3 +8,3 @@ const assert = require('assert');

constructor(config, clusterMode) {
let handle = config.handle;
let handle = config.handle || ConsoleAdapter;
delete config.handle;

@@ -15,3 +15,3 @@

assert(this._logger[level], `adapter function ${level} not exist!`);
this[level] = this._logger[level].bind(this);
this[level] = this._logger[level].bind(this._logger);
});

@@ -18,0 +18,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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