escrcpy/electron/exposes/log/index.js

13 lines
269 B
JavaScript
Raw Normal View History

2024-05-15 05:16:02 +02:00
import { createProxy } from '$electron/helpers/index'
2024-09-07 19:55:54 +02:00
import log from 'electron-log/main.js'
const levels = Object.keys(log.functions)
const functions = () => ({ ...createProxy(log, levels) })
export default {
levels,
functions: functions(),
...functions(),
}