FMI Library: part of JModelica.org
|
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <assert.h>
#include "config_test.h"
#include <fmilib.h>
#include <fmu_dummy/fmu1_model_defines.h>
#include <JM/jm_portability.h>
Go to the source code of this file.
Macros | |
#define | MESSAGE_SIZE_TO_EXPAND_AND_PRINT 3000 /* Using fixed size since the log message is printed to a file and compared */ |
Functions | |
void | logger (jm_callbacks *c, jm_string module, jm_log_level_enu_t log_level, jm_string message) |
void | do_exit (int code) |
int | test_logger (fmi1_import_t *fmu) |
int | main (int argc, char *argv[]) |
Variables | |
FILE * | logFile |
#define MESSAGE_SIZE_TO_EXPAND_AND_PRINT 3000 /* Using fixed size since the log message is printed to a file and compared */ |
void logger | ( | jm_callbacks * | c, |
jm_string | module, | ||
jm_log_level_enu_t | log_level, | ||
jm_string | message | ||
) |
Definition at line 28 of file fmi1_logger_test.c.
void do_exit | ( | int | code | ) |
Definition at line 45 of file fmi1_logger_test.c.
int test_logger | ( | fmi1_import_t * | fmu | ) |
Definition at line 51 of file fmi1_logger_test.c.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 142 of file fmi1_logger_test.c.
FILE* logFile |
Definition at line 26 of file fmi1_logger_test.c.