1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-13 12:05:21 +02:00

[305272] [dstore][multithread] log close in ServerLogger

This commit is contained in:
David McKnight 2010-03-18 16:54:44 +00:00
parent 31fcc11018
commit b8e48979dc
2 changed files with 8 additions and 0 deletions

View file

@ -18,6 +18,10 @@ package org.eclipse.dstore.core.server;
/**
* @since 3.0
* @noimplement This interface is not intended to be implemented by clients.
* Server logger implementations must subclass
* {@link ServerLogger} rather than implementing this
* interface directly.
*/
public interface IServerLogger
{
@ -55,6 +59,7 @@ public interface IServerLogger
/**
* closeLogFileStream
* @since 3.1
*/
public void closeLogFileStream();
}

View file

@ -106,6 +106,9 @@ public class ServerLogger implements IServerLogger
}
}
/**
* @since 3.1
*/
public void closeLogFileStream(){
if (_logFileStream != null){
_logFileStream.close();