1
0
mirror of https://github.com/rhysd/Mstdn.git synced 2024-11-28 20:24:10 +01:00
Mstdn/renderer/log.ts
2017-04-16 02:27:21 +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;