escrcpy/electron/exposes/log/index.js

13 lines
269 B
JavaScript
Raw Permalink Normal View History

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