Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 1x 1x 1x 1x 1x 1x 3x 1x 1x 1x 1x 1x 3x 1x 1x 1x 1x 1x | import chalk from 'chalk'
import * as debug from 'debug'
import * as log from 'fancy-log'
import * as os from 'os'
/** An all-purpose separator */
const separator = `==================================================`
/** DEBUG=timpla logger */
export const devLogger = debug('timpla')
/** Logs the given list of strings to the console. */
export const devLoggerTitle = (...args: any[]) => {
devLogger(os.EOL)
devLogger(chalk.green(separator))
args.forEach(t => devLogger(chalk.green(t)))
devLogger(chalk.green(separator))
devLogger(os.EOL)
}
/** Logs the given list of strings to the console. */
export const logTitle = (...args: any[]) => {
log(os.EOL)
log(chalk.green(separator))
args.forEach(t => log(chalk.green(t)))
log(chalk.green(separator))
log(os.EOL)
}
|