org.scijava.log
Class StderrLogService

java.lang.Object
  extended by org.scijava.AbstractContextual
      extended by org.scijava.plugin.AbstractRichPlugin
          extended by org.scijava.service.AbstractService
              extended by org.scijava.log.AbstractLogService
                  extended by org.scijava.log.StderrLogService
All Implemented Interfaces:
Comparable<Prioritized>, Contextual, Disposable, LogService, HasPluginInfo, RichPlugin, SciJavaPlugin, Prioritized, SciJavaService, Service

public class StderrLogService
extends AbstractLogService

Implementation of LogService using the standard error stream.

Author:
Johannes Schindelin, Curtis Rueden

Field Summary
 
Fields inherited from interface org.scijava.log.LogService
DEBUG, ERROR, INFO, LOG_LEVEL_PROPERTY, NONE, TRACE, WARN
 
Constructor Summary
StderrLogService()
           
 
Method Summary
protected  void log(String message)
          Prints a message to stderr.
protected  void log(Throwable t)
          Prints an exception to stderr.
 
Methods inherited from class org.scijava.log.AbstractLogService
debug, debug, debug, error, error, error, getLevel, getPrefix, info, info, info, isDebug, isError, isInfo, isTrace, isWarn, log, log, setLevel, setLevel, trace, trace, trace, warn, warn, warn
 
Methods inherited from class org.scijava.service.AbstractService
dispose, getContext, initialize, registerEventHandlers, setContext, toString
 
Methods inherited from class org.scijava.plugin.AbstractRichPlugin
compareTo, getInfo, getPriority, setInfo, setPriority
 
Methods inherited from class org.scijava.AbstractContextual
context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.scijava.service.Service
initialize, registerEventHandlers
 
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
 
Methods inherited from interface org.scijava.Prioritized
getPriority, setPriority
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
 
Methods inherited from interface org.scijava.Disposable
dispose
 

Constructor Detail

StderrLogService

public StderrLogService()
Method Detail

log

protected void log(String message)
Prints a message to stderr.

Specified by:
log in class AbstractLogService
Parameters:
message - the message

log

protected void log(Throwable t)
Prints an exception to stderr.

Specified by:
log in class AbstractLogService
Parameters:
t - the exception


Copyright © 2009–2014 SciJava. All rights reserved.