abstract class LogWriter extends AnyRef
Abstract log writer, which can be overridden to create a custom log writer.
- Annotations
- @deprecated
- Deprecated
(Since version 3.2.0) Use Log4j for logging
- Alphabetic
- By Inheritance
- LogWriter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new LogWriter()
Abstract Value Members
-
abstract
def
write(level: LogLevel.Value, logID: String, msg: String): Unit
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
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
log(level: LogLevel.Value, logID: String, msg: String, args: Seq[Any]): Unit
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
prefix(level: LogLevel.Value, logID: String): String
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
-
def
suffix(level: LogLevel.Value, logID: String): String
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
This is the documentation for the Apache Daffodil Scala API.
Package structure
org.apache.daffodil.sapi - Provides the classes necessary to compile DFDL schemas, parse and unparse files using the compiled objects, and retrieve results and parsing diagnostics
org.apache.daffodil.udf - Provides the classes necessary to create User Defined Functions to extend the DFDL expression language