adbkit-logcat
Advanced tools
Comparing version 1.0.0 to 1.0.3
@@ -17,2 +17,4 @@ (function() { | ||
Reader.ANY = '*'; | ||
function Reader(options) { | ||
@@ -34,2 +36,5 @@ var _base; | ||
Reader.prototype.exclude = function(tag) { | ||
if (tag === Reader.ANY) { | ||
return this.excludeAll(); | ||
} | ||
this.filters.tags[tag] = Priority.SILENT; | ||
@@ -48,2 +53,5 @@ return this; | ||
} | ||
if (tag === Reader.ANY) { | ||
return this.includeAll(priority); | ||
} | ||
this.filters.tags[tag] = this._priority(priority); | ||
@@ -50,0 +58,0 @@ return this; |
{ | ||
"name": "adbkit-logcat", | ||
"version": "1.0.0", | ||
"version": "1.0.3", | ||
"description": "A Node.js interface for working with Android's logcat output.", | ||
@@ -30,3 +30,2 @@ "keywords": [ | ||
"dependencies": { | ||
"async": "~0.2.9" | ||
}, | ||
@@ -33,0 +32,0 @@ "devDependencies": { |
@@ -164,3 +164,3 @@ # adbkit-logcat | ||
* **tag** The tag string to exclude. | ||
* **tag** The tag string to exclude. If `'*'`, works the same as `reader.excludeAll()`. | ||
* Returns: The `Reader` instance. | ||
@@ -178,3 +178,3 @@ | ||
* **tag** The tag string to exclude. | ||
* **tag** The tag string to include. If `'*'`, works the same as `reader.includeAll(priority)`. | ||
* **priority** Optional. A lower bound for the priority. Any numeric `Priority` constant or any `String` value accepted by `Priority.fromName()` is accepted. Defaults to `Priority.DEBUG`. | ||
@@ -181,0 +181,0 @@ * Returns: The `Reader` instance. |
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
21936
0
405
- Removedasync@~0.2.9
- Removedasync@0.2.10(transitive)