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.
|
void |
closeFiles()
Deprecated.
Use close instead.
|
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)
Logmessage - the event descriptionpublic void onErrorEvent(String message)
Logmessage - the event descriptionpublic void setSyncAfterWrite(boolean syncAfterWrite)
public void closeFiles()
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void clear()
protected void setLogHeartbeats(boolean logHeartbeats)
public final void onIncoming(String message)
LogonIncoming in interface Logmessage - the raw FIX message stringpublic final void onOutgoing(String message)
LogonOutgoing in interface Logmessage - the raw FIX message stringCopyright © 2017. All rights reserved.