codemeasandwich / scribbles

scribbles is a log and tracing lib for Node
MIT License
10 stars 0 forks source link

missing Trace #27

Open codemeasandwich opened 1 year ago

codemeasandwich commented 1 year ago

https://www.geeksforgeeks.org/node-js-console-trace-method/

codemeasandwich commented 1 year ago

What if trace also give the same source view as jest ?

      191 |   }catch(err){
      192 |   
    > 193 |        scribbles.trace(foo)
      194 |
      195 |    }

      at catch (code/app.ts:13:19)
      at main (code/app.ts:63:10)
      at  main (code/app.ts:31:12)

2 lines before & 2 lines after

codemeasandwich commented 1 year ago

trace is already used

https://github.com/codemeasandwich/scribbles#how-to-trace-logs