jBittorrentAPI
Class LogManager
java.lang.Object
jBittorrentAPI.LogManager
public class LogManager
- extends java.lang.Object
Utility class to output information to a file
Field Summary |
private java.lang.String |
filename
|
java.io.FileWriter |
fw
|
private java.io.OutputStream |
os
|
Constructor Summary |
LogManager(java.lang.String logfile)
|
Method Summary |
void |
writeLog(java.lang.String s)
Write the given string to the file corresponding to this manager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
filename
private java.lang.String filename
fw
public java.io.FileWriter fw
os
private java.io.OutputStream os
LogManager
public LogManager(java.lang.String logfile)
writeLog
public void writeLog(java.lang.String s)
- Write the given string to the file corresponding to this manager
- Parameters:
s
- String