1
0
mirror of https://github.com/rhysd/Mstdn.git synced 2025-01-22 21:52:09 +01:00
Mstdn/main/log.ts
2017-04-20 00:26:54 +09:00

10 lines
165 B
TypeScript

import * as log from 'loglevel';
if (process.env.NODE_ENV === 'development') {
log.setLevel('debug');
} else {
log.setLevel('info');
}
export default log;