npm install electron-log Usage varlog=require('electron-log');log.info('Hello, log'); If you would like to use electron-log in a renderer process only, you should require it in the main process too. Log levels electron-log supports the following log levels: ...
1# electron-log 2[![Tests](https://github.com/megahertz/electron-log/actions/workflows/tests.yml/badge.svg)](https://github.com/megahertz/electron-log/actions/workflows/tests.yml) 3[![NPM version](https://badge.fury.io/js/electron-log.svg)](https://badge.fury.io/js/electron-log) ...
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库:https://github.com/megahertz/electron-log master 克隆/下载 git config --global user.name userName git config --global user.email userEmail 分支1 标签81 Alexey Prokhorovfeat(docs): Describe scope padding, closes...767e92b6个月前 ...
on OS X:~/Library/Logs/<app name>/log.log on Windows:%USERPROFILE%\AppData\Roaming\<app name>\log.log Installation Install withnpm: npm install electron-log Usage varlog=require('electron-log');log.info('Hello, log'); If you would like to use electron-log in a renderer process only...
16***on Windows:**`%USERPROFILE%\AppData\Roaming\<app name>\log.log` 17 18Documentation on this page is for v3.0.0 beta version, which will be released 19in January. Documentation for v2.2.17 is 20[here](https://github.com/megahertz/electron-log/tree/v2.2.17) and ...
Hello. I'm having few issues in the project (Angular and electron) implementing electron-log. In the main.ts for electron i'm bringing in electron-log with: import logger = require('electron-log'); transport is configured in the same mai...
import log from 'electron-log/main'; log.transports.file.maxSize = 800 * 1024 * 1024;// 100 MB log.initialize(); i do it in eletron's prload.ts but is doesn't work. megahertzcommentedFeb 28, 2024• edited Sign up for freeto join this conversation on GitHub. Already have an ac...
constelectron=require('electron')constproc=require('node:child_process')// will print something similar to /Users/maf/.../Electronconsole.log(electron)// spawn Electronconstchild=proc.spawn(electron) Mirrors See theAdvanced Installation Instructionsto learn how to use a custom mirror. ...
Electron 是 GitHub 发布的跨平台桌面应用开发工具,支持 Web 技术开发桌面应用,其本身是基于 C++ 开发的,GUI 核心来自于 Chrome,而 JavaScript 引擎使用 v8。 展开 收起 暂无标签 JavaScript 等6 种语言 MIT Code of conduct 保存更改 取消 发行版 暂无发行版 electron 开源评估指数 生产力 创新力 稳...
Electron 是是 GitHub 开发的一个开源框架。它允许使用 Node.js(作为后端)和 Chromium(作为前端)完成桌面 GUI 应用程序的开发。 Electron 可以用于构建具有 html、css、JAVAScript 的跨平台桌面应用程序,它通过将 Chromium 和node.js合同一个运行的环境中来实现这一点,应用程序可以打包到 mac、windows 和 linux 系统...