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

@crazyorr/timber

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@crazyorr/timber - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "@crazyorr/timber",
"version": "0.0.2",
"version": "0.0.3",
"description": "JavaScript port of Android's timber library.",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -14,3 +14,6 @@ JavaScript port of Android's [timber](https://github.com/JakeWharton/timber) library.

```javascript
// Plant a tree
// import timber
const {Timber, DebugTree} = require('@crazyorr/timber');
// Plant a default debug tree which directs logs to console
Timber.plant(new DebugTree());

@@ -32,2 +35,6 @@

```javascript
// import timber
const {Timber, Tree, Level} = require('@crazyorr/timber');
// Customize a tree's behavior by extending the Tree class, send logs to anywhere you want
class CustomTree extends Tree {

@@ -56,3 +63,6 @@

// Plant a customized tree
Timber.plant(new CustomTree());
// You can plant as many trees as you want
// Timber.plant(new CustomTree()); ...
```

@@ -59,0 +69,0 @@

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