Package com.webmethods.jms.log
Class LogFile
- java.lang.Object
-
- com.webmethods.jms.log.LogFile
-
- All Implemented Interfaces:
LogDestination
public class LogFile extends java.lang.Object implements LogDestination
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Close the writer.void
open()
Open the writer.void
publish​(LogMessage message)
Write the log message to the file.
-
-
-
Method Detail
-
open
public void open()
Open the writer.- Specified by:
open
in interfaceLogDestination
-
publish
public void publish​(LogMessage message)
Write the log message to the file.- Specified by:
publish
in interfaceLogDestination
- Parameters:
message
- The formatted log message to publish.
-
close
public void close()
Close the writer.- Specified by:
close
in interfaceLogDestination
-
-