How to use the console function from tracer

Find comprehensive JavaScript tracer.console code examples handpicked from public code repositorys.

20
21
22
23
24
25
26
27
28
29
if (NODE_ENV == 'dev') {
  const stream = fs.createWriteStream(path.join(LOG_DIR, LOG_FILENAME), {
    flags: 'a',
    encoding: 'utf8',
  })
  return tracer.console({
    format,
    dateformat: 'HH:MM:ss.L',
    level: LOG_LEVEL,
    inspectOpt : {
fork icon0
star icon0
watch icon0

+ 4 other calls in file