megahertz / electron-log

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

Error when calling readAllLogs #414

Closed lukehaas closed 7 months ago

lukehaas commented 7 months ago

Since a recent update, whenever I call log.transports.file.readAllLogs() in the main process, I am seeing the following error:

TypeError: Cannot read properties of undefined (reading 'libraryDefaultDir')",