We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54c3bfe commit a406836Copy full SHA for a406836
electron/common/logger/get-log-level.ts
@@ -1,6 +1,5 @@
1
import type { LogLevel } from './types.js';
2
3
export const getLogLevel = (): LogLevel => {
4
- // eslint-disable-next-line no-restricted-globals -- process.env is allowed
5
return (process.env.LOG_LEVEL || 'info') as LogLevel;
6
};
0 commit comments