FileDocCategorySizeDatePackage
Logger.javaAPI DocAzureus 3.0.3.41392Tue Apr 06 11:52:00 BST 2004org.gudy.azureus2.ui.swt.updater.snippets

Logger

public class Logger extends Object
author
Olivier Chalouhi

Fields Summary
Constructors Summary
Methods Summary
public static voidlog(java.lang.String value)

    FileOutputStream fos = null;
    try {
      String userPath = System.getProperty("user.dir") + System.getProperty("file.separator");
      File logFile = new File(userPath + "snippet.log");
      fos = new FileOutputStream(logFile,true);
      fos.write((value+"\n").getBytes());
      fos.close();
    } catch(Exception e) {
      //Do nothing
    }