@alleyway/add-tradingview-alerts-tool
Version:
Add TradingView Alerts in bulk
13 lines (8 loc) • 354 B
text/typescript
import { createConsola } from "consola"
import kleur from "kleur"
const DEFAULT_LEVEL = 3
const log = createConsola({ level: Number(process.env.ATAT_LOG_LEVEL) || DEFAULT_LEVEL })
export const logLogInfo = () => {
log.info(`Current log level: ${kleur.yellow(log.level)} (you can specify '--loglevel 5' for maximum debugging)`)
}
export default log