megahertz / electron-log

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

fix(initialize): fix session-create event missing, fixes #379 #380

Closed xuewenG closed 6 months ago

megahertz commented 6 months ago

@xuewenG I created a new PR based on this PR. Could you please take a look? https://github.com/megahertz/electron-log/pull/388

xuewenG commented 6 months ago

@xuewenG I created a new PR based on this PR. Could you please take a look? #388

I checked the new PR. getSessions and onAppReady should cover most cases.

xuewenG commented 6 months ago

@megahertz I have no more problems with these two PRs. It's time to merge the new PR.

Hopefully in the future Electron will provide a more convenient API to get all the sessions.