-2

I am trying to implement Winston logger with my chrome extension tool. I am not able to do it.

Also I am not very familiar with Node.js and npm.

James Z
  • 12,209
  • 10
  • 24
  • 44
Sourabh Roy
  • 159
  • 1
  • 18

1 Answers1

1

Winston doesn't work in a browser context, so this isn't reasonably possible until that's fixed.

https://github.com/winstonjs/winston/issues/287

Brad
  • 159,648
  • 54
  • 349
  • 530
  • So is there any Library which I can use for logging for chrome extension? – Sourabh Roy Jun 09 '18 at 13:34
  • @SourabhRoy Sure, many. But, who knows what to suggest to you as you haven't mentioned what your requirements are. – Brad Jun 09 '18 at 16:31
  • I have chrome extension tool which is completely developed using javascript. Now i want the js files to have loggers and these logs should be saved in some files. Please let me know if I made my requirement clear or do you want any more information from me – Sourabh Roy Jun 11 '18 at 03:34
  • @SourabhRoy Saved in files, where? Server-side? Client-side? – Brad Jun 13 '18 at 03:57
  • on the client side... i mean on my machine for instance – Sourabh Roy Jun 13 '18 at 11:41