Output functions
[Runtime module API]


Detailed Description

Module may output messages to stdout, stderr, and the core test record file using the output functions.

See Output function for details on message format conventions.


Defines

#define gl_error   (*callback->output_error)
 Produces an error message on stderr, but only when --quiet is not provided on the command line.
#define gl_output   (*callback->output_message)
 Produces a message on stdout.
#define gl_testmsg   (*callback->output_test)
 Produces a test message in the test record file, but only when --testfile is provided on the command line.
#define gl_warning   (*callback->output_warning)
 Produces a warning message on stderr, but only when --warning is provided on the command line.


Define Documentation

#define gl_error   (*callback->output_error)

#define gl_output   (*callback->output_message)

Produces a message on stdout.

See also:
output_message(char *format, ...)

Definition at line 246 of file gridlabd.h.

Referenced by import_cdf().

#define gl_testmsg   (*callback->output_test)

Produces a test message in the test record file, but only when --testfile is provided on the command line.

See also:
output_testmsg(char *format, ...)

Definition at line 270 of file gridlabd.h.

#define gl_warning   (*callback->output_warning)


GridLAB-DTM Version 2.0
An open-source project initiated by the US Department of Energy