question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add different kinds of custom built-in trees to the library

See original GitHub issue

I think that implementing DebugTree as a built-in custom tree inside the library, is a great way to show the users how to properly and efficiently extend and use Tree class.

While searching the web for a custom tree, for example, which log his messages into a local file, it seems that there are different implementations which obviously have different implications, because there is no one centralized reliable resource for the specific example custom tree.

IMO, it will be very productive for the users if trees/ directory will be added at java/timber/log directory root path and opportunity will be given to contributes to share their general-purpose reliable custom trees with the rest of users, in trees/ directory.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:2
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

7reactions
JakeWhartoncommented, Oct 18, 2017

Do you have specific ones that you’d be interested in having out-of-the-box? I’m more interested in specific, widely applicable use cases.

I’m definitely not interested in accepting and maintaining a large portion of trees. It’s not scalable for me, everyone thinks their special case is a general case and wants it in the main repo, and the APIs to configure the behavior of these will become a tragedy of the commons.

I can create a wiki page where people can link to their third-party tree with a one-liner description. How’s that?

5reactions
tasomaniaccommented, Feb 14, 2018

What about having them in the sample app? That way, people will probably copy paste and easily modify to their needs in the project. Could be better than shipping it with the lib.

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Template Tree Class in C++ | by Christian Behler
Trees are an abstract data type for all kinds of hierarchical data like file systems, parse trees, domain object models (HTML, XML), binary ......
Read more >
How can I implement a tree in Python? - Stack Overflow
There aren't trees built in, but you can easily construct one by subclassing a Node type from List and ...
Read more >
Editing a library - Forest Pack Help - iToo Software
The Library Paths rollout shows a list of all the locations currently being used. To add a new location click on the Add...
Read more >
Working With Tree Data Structures — A Python Environment ...
A custom list of nodes matching a given name can be easily obtain through the TreeNode.search_node() function. from ete2 import Tree t =...
Read more >
Implementing a Binary Tree in Java - Baeldung
The first operation we're going to cover is the insertion of new nodes. First, we have to find the place where we want...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found