Skip to main content
Participant
November 16, 2017
Answered

HTML Panel and logging

  • November 16, 2017
  • 1 reply
  • 500 views

Hi

I want to log some debug messages from the html panel. Is there a way to write to the host application/extension log files?

Anand

This topic has been closed for replies.
Correct answer Trevor:

Besides writing your own logger which is pretty simple you can grab many from npm logger, winston​, log4js​  to name but a few.

The path to the logs are provided in the manual but your better off by far writing to your own logs than trying to hijack the extensions log files.

1 reply

Trevor:
Trevor:Correct answer
Legend
November 16, 2017

Besides writing your own logger which is pretty simple you can grab many from npm logger, winston​, log4js​  to name but a few.

The path to the logs are provided in the manual but your better off by far writing to your own logs than trying to hijack the extensions log files.