Comparing version 0.14.0 to 0.15.0
@@ -38,8 +38,6 @@ /** | ||
* | ||
* In anylogger, a higher level of logging means more verbose logging: more | ||
* log messages will be generated. The lowest level of logging (none at all) | ||
* has value `0`. Higher levels have higher values. To be compliant with the | ||
* anylogger API, loggers should support at least the default levels, but | ||
* they may define additional levels and they may choose to use different | ||
* numeric values for these levels. | ||
* To be compliant with the anylogger API, loggers should support at least | ||
* the default levels through the like named log functions, but they may | ||
* define additional levels and they may choose to use different numeric values | ||
* for all the levels. | ||
* | ||
@@ -46,0 +44,0 @@ * You can replace or change this object to include levels corresponding with |
{ | ||
"name": "anylogger", | ||
"version": "0.14.0", | ||
"version": "0.15.0", | ||
"description": "Get a logger. Any logger.", | ||
@@ -5,0 +5,0 @@ "main": "anylogger.js", |
@@ -1,2 +0,2 @@ | ||
# anylogger <sub><sup>0.14.0</sup></sub> | ||
# anylogger <sub><sup>0.15.0</sup></sub> | ||
### Get a logger. Any logger. | ||
@@ -67,5 +67,5 @@ | ||
* [anylogger.js](https://unpkg.com/anylogger@0.14.0/anylogger.js) | ||
* [anylogger.js](https://unpkg.com/anylogger@0.15.0/anylogger.js) | ||
(fully commented source ~5kB) | ||
* [anylogger.min.js](https://unpkg.com/anylogger@0.14.0/anylogger.min.js) | ||
* [anylogger.min.js](https://unpkg.com/anylogger@0.15.0/anylogger.min.js) | ||
(minified 546 bytes, gzipped ~[346](#gzip-size) bytes) | ||
@@ -78,3 +78,3 @@ | ||
```html | ||
<script src="https://unpkg.com/anylogger@0.14.0/anylogger.min.js"></script> | ||
<script src="https://unpkg.com/anylogger@0.15.0/anylogger.min.js"></script> | ||
<script>(function(){ // IIFE | ||
@@ -107,3 +107,3 @@ var log = anylogger('index.html') | ||
"peerDependencies": { | ||
"anylogger": "^0.14.0" | ||
"anylogger": "^0.15.0" | ||
} | ||
@@ -361,8 +361,6 @@ } | ||
In anylogger, a higher level of logging means more verbose logging: more | ||
log messages will be generated. The lowest level of logging (none at all) | ||
has value `0`. Higher levels have higher values. To be compliant with the | ||
anylogger API, loggers should support at least the default levels, but | ||
they may define additional levels and they may choose to use different | ||
numeric values for these levels. | ||
To be compliant with the anylogger API, loggers should support at least | ||
the default levels through the like named log functions, but they may | ||
define additional levels and they may choose to use different numeric values | ||
for all the levels. | ||
@@ -442,3 +440,3 @@ You can replace or change this object to include levels corresponding with | ||
Please have a look at the | ||
[source](https://unpkg.com/anylogger@0.14.0/anylogger.js) | ||
[source](https://unpkg.com/anylogger@0.15.0/anylogger.js) | ||
it should make it more clear how to write an adapter. Also consider studying | ||
@@ -445,0 +443,0 @@ the [available adapters](https://www.npmjs.com/search?q=keywords:anylogger) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27755
252
469