Detailed Description
default message handler
Definition in file message_default.c.
Go to the source code of this file.
Functions | |
static void | logMessage (FILE *file, const char *msg) |
static | SCIP_DECL_MESSAGEWARNING (messageWarningDefault) |
static | SCIP_DECL_MESSAGEDIALOG (messageDialogDefault) |
static | SCIP_DECL_MESSAGEINFO (messageInfoDefault) |
SCIP_RETCODE | SCIPcreateMessagehdlrDefault (SCIP_MESSAGEHDLR **messagehdlr, SCIP_Bool bufferedoutput, const char *filename, SCIP_Bool quiet) |
Function Documentation
◆ logMessage()
|
static |
prints a message to the given file stream and writes the same messate to the log file
- Parameters
-
file file stream to print message into msg message to print (or NULL to flush)
Definition at line 34 of file message_default.c.
References NULL.
Referenced by SCIP_DECL_MESSAGEDIALOG(), SCIP_DECL_MESSAGEINFO(), and SCIP_DECL_MESSAGEWARNING().
◆ SCIP_DECL_MESSAGEWARNING()
|
static |
warning message print method of message handler
Definition at line 50 of file message_default.c.
References logMessage(), and NULL.
◆ SCIP_DECL_MESSAGEDIALOG()
|
static |
dialog message print method of message handler
Definition at line 60 of file message_default.c.
References logMessage().
◆ SCIP_DECL_MESSAGEINFO()
|
static |
info message print method of message handler
Definition at line 67 of file message_default.c.
References logMessage().
◆ SCIPcreateMessagehdlrDefault()
SCIP_RETCODE SCIPcreateMessagehdlrDefault | ( | SCIP_MESSAGEHDLR ** | messagehdlr, |
SCIP_Bool | bufferedoutput, | ||
const char * | filename, | ||
SCIP_Bool | quiet | ||
) |
Create default message handler. To free the message handler use SCIPmessagehdlrRelease().
- Parameters
-
messagehdlr pointer to store message handler bufferedoutput should the output be buffered up to the next newline? filename name of log file, or NULL (stdout) quiet should screen messages be suppressed?
Definition at line 73 of file message_default.c.
References NULL, SCIP_CALL, SCIP_OKAY, and SCIPmessagehdlrCreate().
Referenced by doScipCreate().