Package csw.logging.client.appenders
Interface LogAppender
- All Known Implementing Classes:
FileAppender
,StdOutAppender
public interface LogAppender
Trait for log appender classes.
-
Method Details
-
append
Appends a new log message- Parameters:
baseMsg
- the message to be loggedcategory
- the kinds of log (for example, "common")
-
finish
scala.concurrent.Future<scala.runtime.BoxedUnit> finish()Called just before the logger shuts down- Returns:
- a future that is completed when finished
-
stop
scala.concurrent.Future<scala.runtime.BoxedUnit> stop()Stops a log appender- Returns:
- a future that is completed when stopped
-