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

11 lines
188 B
TypeScript
Raw Normal View History

2017-04-15 16:32:44 +09:00
import * as log from 'loglevel';
if (process.env.NODE_ENV === 'development') {
log.setLevel('debug');
} else {
log.setLevel('info');
}
2017-04-16 04:14:58 +09:00
log.setLevel('debug');
2017-04-15 16:32:44 +09:00
export default log;