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;
|