Class

edu.illinois.ncsa.daffodil.sapi.logger

FileLogWriter

Related Doc: package logger

Permalink

final class FileLogWriter extends LogWriter

LogWriter that writes all log messages to a file.

Linear Supertypes
LogWriter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileLogWriter
  2. LogWriter
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FileLogWriter(file: File)

    Permalink

    file

    the file to write log messages to

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def getFile: File

    Permalink

    Retrieve the file the log writer writes to

  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def log(level: LogLevel.Value, logID: String, msg: String, args: Seq[Any]): Unit

    Permalink

    Generates a log message as a string and calls the write method.

    Generates a log message as a string and calls the write method.

    The default implementation generates a log message based on the prefix, suffix, message string, and log arguments, and passes the generated log message, level, and logId to LogWriter#write.

    Can be overridden if more control is needed over the logging mechanism and/or log arguments are needed as separate entities.

    level

    level of the message

    logID

    identification of class that created the log message

    msg

    printf-style format string

    args

    arguments passed to the logger, matching the format string

    Definition Classes
    LogWriter
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. def prefix(level: LogLevel.Value, logID: String): String

    Permalink

    Override to change the prefix string of the log message.

    Override to change the prefix string of the log message.

    By default, the prefix is the empty string.

    level

    level of the message

    logID

    identification of class that created the log message

    returns

    the prefix to use for log messages. Defaults to the empty string if not overridden.

    Attributes
    protected
    Definition Classes
    LogWriter
  18. def suffix(level: LogLevel.Value, logID: String): String

    Permalink

    Override to change the suffix string of the log message.

    Override to change the suffix string of the log message.

    By default, the suffix is the empty string.

    level

    level of the message

    logID

    identification of class that created the log message

    returns

    the suffix to use for log messages. Defaults to the empty string if not overridden.

    Attributes
    protected
    Definition Classes
    LogWriter
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def write(level: LogLevel.Value, logID: String, msg: String): Unit

    Permalink

    Implement this method to determine how the log message is written.

    Implement this method to determine how the log message is written.

    level

    level of the message

    logID

    identification of class that created the log message

    msg

    log message

    Attributes
    protected
    Definition Classes
    FileLogWriterLogWriter

Inherited from LogWriter

Inherited from AnyRef

Inherited from Any

Ungrouped