Treelog prints out your logs along with the functions they were called from, and arranges them in a tree based on a stacktrace:
var log = { } { stove } var stove = { }
will log out:
makeBreakfast → - - - - - - - - - - - - - so hungry
- toast → - - - - - - - - - - - - - - - - bread is soft
- - Object.stove.on → - - - - - - - - - - ignition!
- toast → - - - - - - - - - - - - - - - - so toasty!