Skip to content

Logging

Dave Nicolette edited this page Jan 30, 2021 · 4 revisions

Home -> Developer Guide ->

As of January, 2021, there is no "real" logging support. The application is designed to enable a logger to be plugged in. By default, class Log handles logging by writing to stderr, using Instant.now() to timestamp the log entries.

Logging levels are supported that are similar to typical logging levels offered by "real" loggers:

  • OFF
  • FATAL
  • ERROR
  • WARN
  • INFO
  • DEBUG
  • TRACE

Users can set a logging level on the command line with the --log-level or -l option when they run cobolcheck.

Clone this wiki locally