Package dev.aura.bungeechat.chatlog
Class FileLogger
- java.lang.Object
-
- dev.aura.bungeechat.chatlog.FileLogger
-
- All Implemented Interfaces:
ChatLogger
,AutoCloseable
public class FileLogger extends Object implements ChatLogger, AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description FileLogger(String logFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
log(dev.aura.bungeechat.api.placeholder.BungeeChatContext context)
-
-
-
Constructor Detail
-
FileLogger
public FileLogger(String logFile)
-
-
Method Detail
-
log
public void log(dev.aura.bungeechat.api.placeholder.BungeeChatContext context)
- Specified by:
log
in interfaceChatLogger
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-
-