public static class FMULibrary.FMULogger extends java.lang.Object implements FMILibrary.FMICallbackLogger
Constructor and Description |
---|
FMULibrary.FMULogger() |
Modifier and Type | Method and Description |
---|---|
void |
apply(com.sun.jna.Pointer fmiComponent,
java.lang.String instanceName,
int status,
java.lang.String category,
java.lang.String message,
com.sun.jna.Pointer parameters)
Log a message.
|
public void apply(com.sun.jna.Pointer fmiComponent, java.lang.String instanceName, int status, java.lang.String category, java.lang.String message, com.sun.jna.Pointer parameters)
apply
in interface FMILibrary.FMICallbackLogger
fmiComponent
- The component that was instantiated.instanceName
- The name of the instance of the FMU.status
- The fmiStatus, see
FMILibrary.FMIStatus
category
- The category of the message,
defined by the tool that created the fmu. Typical
values are "log" or "error".message
- The message in printf formatparameters
- The printf style parameters.