class LoggerWriter extends Writer
Provides a java.io.Writer
interface to a Logger
. Content is line-buffered and logged at level
.
A line is delimited by nl
, which is by default the platform line separator.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LoggerWriter
- Writer
- Flushable
- Closeable
- AutoCloseable
- Appendable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new LoggerWriter(delegate: Logger)
- new LoggerWriter(delegate: Logger, level: util.Level.Value)
- new LoggerWriter(delegate: Logger, unbufferedLevel: Option[util.Level.Value], nl: String = ...)
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
-
def
append(arg0: Char): Writer
- Definition Classes
- Writer → Appendable
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
append(arg0: CharSequence, arg1: Int, arg2: Int): Writer
- Definition Classes
- Writer → Appendable
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
append(arg0: CharSequence): Writer
- Definition Classes
- Writer → Appendable
- Annotations
- @throws( classOf[java.io.IOException] )
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
close(): Unit
- Definition Classes
- LoggerWriter → Writer → Closeable → AutoCloseable
-
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] )
-
def
flush(): Unit
- Definition Classes
- LoggerWriter → Writer → Flushable
- def flushLines(level: util.Level.Value): Unit
-
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
-
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()
-
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()
-
def
write(content: Array[Char], offset: Int, length: Int): Unit
- Definition Classes
- LoggerWriter → Writer
-
def
write(arg0: String, arg1: Int, arg2: Int): Unit
- Definition Classes
- Writer
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
write(arg0: String): Unit
- Definition Classes
- Writer
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
write(arg0: Array[Char]): Unit
- Definition Classes
- Writer
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
write(arg0: Int): Unit
- Definition Classes
- Writer
- Annotations
- @throws( classOf[java.io.IOException] )