megahertz / electron-log

Simple logging module Electron/Node.js/NW.js application. No dependencies. No complicated configuration.
MIT License
1.3k stars 127 forks source link

Can we use MainLogger.create result as a MainLogger? #382

Closed ash-r1 closed 9 months ago

ash-r1 commented 9 months ago

Hi,

I'm using electron-log/main with TypeScript.

I found MainLogger.create's return type is just Logger not MainLogger in main.d.ts But I think it returns a fully featured MainLogger instance, in my environment.

Please consider expanding the MainLogger interface.