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?