smartlog/ts/index.ts

22 lines
331 B
TypeScript
Raw Normal View History

2016-10-15 17:00:52 +00:00
import 'typings-global'
export registerLogger = () => {
}
export error = (logString: string) => {
console.error(logString)
}
export info = (logString: string) => {
console.info()
}
export log = (logString: string) => {
console.log(logString)
}
export warn = (logString: string) => {
console.warn(logString)
}