-1

In my Asp.NET Core 3 Electron.NET web application, I'm using Electron-Log npm package to carry out the logging.

I'm able to log in the script section like this:

const log = require('electron-log');

log.info('Hello, log');
log.warn('Some problem appears');

In the sample application, how could I use this to log from a C# controller or any other C# class?

jose praveen
  • 1,298
  • 2
  • 10
  • 17
John
  • 693
  • 1
  • 12
  • 37

1 Answers1

0

Electron-Log is used to record the log information of the client.

For the code behind in .net core, you can refer to this.

LouraQ
  • 6,443
  • 2
  • 6
  • 16