org.jenkinsci.plugins.pollmailboxtrigger.mail
Class Logger

java.lang.Object
  extended by org.jenkinsci.plugins.pollmailboxtrigger.mail.Logger
Direct Known Subclasses:
Logger.XTriggerLoggerWrapper

public abstract class Logger
extends Object

Logger interface, so that we're not tied to XTriggerLog!

Question: is there a better/generic way of doing this?

Author:
Nick Grealy

Nested Class Summary
static class Logger.HasLogger
           
static class Logger.LoggerStream
           
static class Logger.XTriggerLoggerWrapper
           
 
Field Summary
static Logger DEFAULT
           
 
Constructor Summary
Logger()
           
 
Method Summary
abstract  void error(String message)
           
 OutputStream getOutputStream()
           
 PrintStream getPrintStream()
           
abstract  void info(String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final Logger DEFAULT
Constructor Detail

Logger

public Logger()
Method Detail

info

public abstract void info(String message)

error

public abstract void error(String message)

getOutputStream

public OutputStream getOutputStream()

getPrintStream

public PrintStream getPrintStream()


Copyright © 2004-2014. All Rights Reserved.