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

anylogger

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anylogger - npm Package Compare versions

Comparing version 0.12.0 to 0.13.0

2

package.json
{
"name": "anylogger",
"version": "0.12.0",
"version": "0.13.0",
"description": "Get a logger. Any logger.",

@@ -5,0 +5,0 @@ "main": "anylogger.js",

@@ -1,2 +0,2 @@

# anylogger <sub><sup>0.12.0</sup></sub>
# anylogger <sub><sup>0.13.0</sup></sub>
### Get a logger. Any logger.

@@ -67,5 +67,5 @@

* [anylogger.js](https://unpkg.com/anylogger@0.12.0/anylogger.js)
* [anylogger.js](https://unpkg.com/anylogger@0.13.0/anylogger.js)
(fully commented source ~5kB)
* [anylogger.min.js](https://unpkg.com/anylogger@0.12.0/anylogger.min.js)
* [anylogger.min.js](https://unpkg.com/anylogger@0.13.0/anylogger.min.js)
(minified 546 bytes, gzipped ~[346](#gzip-size) bytes)

@@ -78,3 +78,3 @@

```html
<script src="https://unpkg.com/anylogger@0.12.0/anylogger.min.js"></script>
<script src="https://unpkg.com/anylogger@0.13.0/anylogger.min.js"></script>
<script>(function(){ // IIFE

@@ -107,3 +107,3 @@ var log = anylogger('index.html')

"peerDependencies": {
"anylogger": "^0.12.0"
"anylogger": "^0.13.0"
}

@@ -276,4 +276,4 @@ }

implementations that require it, anylogger passes any config object it
is given on to [`anylogger.create`](#anyloggercreate) and
[`anylogger.new`](#anyloggernew) to allow it to be used where needed.
is given on to [`anylogger.new`](#anyloggernew) to allow it to be used
where needed.

@@ -284,3 +284,3 @@ **When no arguments are given** anylogger returns an object containing

**When a name is given** anylogger returns the existing logger with that
name, or creates a new one by calling [`anylogger.create`](#anyloggercreate).
name, or creates a new one by calling [`anylogger.new`](#anyloggernew).

@@ -443,3 +443,3 @@ The returned logger adheres to the Logging API described below.

Please have a look at the
[source](https://unpkg.com/anylogger@0.12.0/anylogger.js)
[source](https://unpkg.com/anylogger@0.13.0/anylogger.js)
it should make it more clear how to write an adapter. Also consider studying

@@ -446,0 +446,0 @@ the [available adapters](https://www.npmjs.com/search?q=keywords:anylogger)

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