mirror of
https://github.com/viarotel-org/escrcpy.git
synced 2024-12-18 10:25:54 +01:00
13 lines
266 B
JavaScript
13 lines
266 B
JavaScript
import log from 'electron-log/main'
|
|
import { createProxy } from '@electron/helpers/index'
|
|
|
|
const levels = Object.keys(log.functions)
|
|
|
|
const functions = () => ({ ...createProxy(log, levels) })
|
|
|
|
export default {
|
|
levels,
|
|
functions: functions(),
|
|
...functions(),
|
|
}
|