Loading...
Searching...
No Matches
logging.f90

Go to the source code of this file.

Data Types

interface  render
 Generic renderer for diagnostics and source excerpts. More...
interface  label_type
 Diagnostic label identifying a region of source text. More...
interface  diagnostic_report
 Structured compiler diagnostic. More...

Functions/Subroutines

pure character(:) function, allocatable colorize (string, foreground, background, style)
 Colorize and stylize strings, DEFAULT kind.
subroutine, public printf (str, fmt, unit)
 Conditionally print a message when verbose logging is enabled.

Variables

logical, public verbose = .false.
 Master switch for verbose diagnostic output Default value is .false. (quiet mode). Set to .true. to get detailed step-by-step information about preprocessing actions. Safe to modify at any time � the change takes effect immediately for all subsequent operations.
logical, public nocolor = .false.
 Switch for controling the ANSI color output Default value is .true. (color mode on). Set to .false. to get raw string output.