Package com.datecs.util

# Class FileLogger

java.lang.Object
com.datecs.util.FileLogger

    public class FileLogger
    extends java.lang.Object

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `void` | `closeFile()` |
  `void` | `debug​(java.lang.String text)` |
  `void` | `deleteFile()` |
  `void` | `error​(java.lang.String text)` |
  `void` | `error​(java.lang.String text, java.lang.Throwable e)` |
  `void` | `error​(java.lang.Throwable e)` |
  `void` | `fatal​(java.lang.String text, java.lang.Throwable e)` |
  `java.lang.String` | `getFileName()` |
  `static FileLogger` | `getLogger​(java.lang.Class c)` |
  `static FileLogger` | `getLogger​(java.lang.String className)` |
  `void` | `setEnabled​(boolean value)` |
  `void` | `write​(java.lang.String prefix, java.lang.String text)` |

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### deleteFile

    public void deleteFile() throws java.lang.Exception
    Throws:
      `java.lang.Exception`

  - ### closeFile

    public void closeFile() throws java.lang.Exception
    Throws:
      `java.lang.Exception`

  - ### getLogger

    public static FileLogger getLogger​(java.lang.Class c)

  - ### getLogger

    public static FileLogger getLogger​(java.lang.String className)

  - ### fatal

    public void fatal​(java.lang.String text, java.lang.Throwable e)

  - ### error

    public void error​(java.lang.String text, java.lang.Throwable e)

  - ### error

    public void error​(java.lang.Throwable e)

  - ### error

    public void error​(java.lang.String text)

  - ### debug

    public void debug​(java.lang.String text)

  - ### setEnabled

    public void setEnabled​(boolean value)

  - ### getFileName

    public java.lang.String getFileName()

  - ### write

    public void write​(java.lang.String prefix, java.lang.String text)