public abstract class AbstractEnvironment extends Object implements Logable
Created by Jeff Gaynor
on Nov 5, 2010 at 10:17:04 AM
Modifier | Constructor and Description |
---|---|
protected |
AbstractEnvironment() |
protected |
AbstractEnvironment(MyLoggingFacade myLogger) |
protected |
AbstractEnvironment(MyLoggingFacade myLogger,
Map<String,String> constants) |
Modifier and Type | Method and Description |
---|---|
void |
debug(String x)
Write a debug message to the log.
|
void |
error(String x)
Write an error message to the log.
|
Map<String,String> |
getConstants()
Returns a hash map of constants that are used for this service.
|
MyLoggingFacade |
getMyLogger() |
void |
info(String x)
Write an informational message to the log
|
boolean |
isDebugOn()
Query if debugging is enabled for this logger.
|
boolean |
isPingable()
Turn off or on pinging for this OA4MP install.
|
void |
setDebugOn(boolean setOn)
Enable/disable debugging for this logger
|
void |
setPingable(boolean pingable) |
void |
warn(String x)
Write a warning to the log.
|
protected AbstractEnvironment(MyLoggingFacade myLogger)
protected AbstractEnvironment(MyLoggingFacade myLogger, Map<String,String> constants)
protected AbstractEnvironment()
public boolean isDebugOn()
Logable
public Map<String,String> getConstants()
public void setDebugOn(boolean setOn)
Logable
setDebugOn
in interface Logable
public MyLoggingFacade getMyLogger()
public void debug(String x)
Logable
public void error(String x)
Logable
public void info(String x)
Logable
public void warn(String x)
Logable
public boolean isPingable()
public void setPingable(boolean pingable)
Copyright © 2019. All Rights Reserved.