public class FileLog extends Object
FileLogFactory
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deletes the log files.
|
void |
close()
Closed the messages and events files.
|
protected void |
logIncoming(String message) |
protected void |
logOutgoing(String message) |
void |
onErrorEvent(String message)
Logs an session error event.
|
void |
onEvent(String message)
Logs a session event.
|
void |
onIncoming(String message)
Logs an incoming message
|
void |
onOutgoing(String message)
Logs an outgoing message
|
protected void |
setLogHeartbeats(boolean logHeartbeats) |
void |
setSyncAfterWrite(boolean syncAfterWrite) |
protected void logIncoming(String message)
protected void logOutgoing(String message)
public void onEvent(String message)
Log
message
- the event descriptionpublic void onErrorEvent(String message)
Log
message
- the event descriptionpublic void setSyncAfterWrite(boolean syncAfterWrite)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public void clear()
protected void setLogHeartbeats(boolean logHeartbeats)
public final void onIncoming(String message)
Log
onIncoming
in interface Log
message
- the raw FIX message stringpublic final void onOutgoing(String message)
Log
onOutgoing
in interface Log
message
- the raw FIX message stringCopyright © 2021. All rights reserved.