mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-09-27 20:09:03 +00:00
8 lines
151 B
TypeScript
8 lines
151 B
TypeScript
|
import * as log from 'loglevel';
|
||
|
|
||
|
if (process.env.LOGLEVEL) {
|
||
|
log.setLevel(process.env.LOGLEVEL as log.LogLevelDesc);
|
||
|
} else {
|
||
|
log.disableAll();
|
||
|
}
|