import moment from 'moment' ; import { ILogger } from '../../types' ; const Logger = { info : ( msg ) => console . log ( `[INFO] ${ moment ( ) . format ( ) } - ${ msg }` ) , warning : ( msg ) => console . log ( `[WARNING] ${ moment ( ) . format ( ) } - ${ msg }` ) , error : ( msg ) => console . log ( `[ERROR] ${ moment ( ) . format ( ) } - ${ msg }` ) , } ; export default Logger ;