How to use the setLevel function from tracer

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

160
161
162
163
164
165
166
167
168
169
    dateformat: 'yyyy-mm-dd HH:MM:ss.L'
  })
} else {
  logger = tracer.colorConsole({ dateformat: 'yyyy-mm-dd HH:MM:ss.L' })
}
tracer.setLevel(appConfig.logLevel)

const options = {
  appConfig,
  genesisblock,
fork icon0
star icon0
watch icon0