Modifier and Type | Class and Description |
---|---|
class |
UnitComponent
A class that extends
Unit and exposes the logging methods. |
class |
UnitComponentExt
|
class |
UnitExt
|
Modifier and Type | Method and Description |
---|---|
Unit |
Unit.lock()
Constructs a
Unit according to the previously given parameters. |
Unit |
Unit.setLink(java.lang.String parentLogName)
Sets the name of the parent log.
|
Unit |
Unit.setLink(UnitLinkData unitLinkData)
Sets the information on linking this unit to another log.
|
Unit |
Unit.setLogDisplay(DisplayEntity logDisplay)
Sets the
DisplayEntity to receive updates form the log. |
Unit |
Unit.setLogEnsureNew()
If called, when the log is created, if another log exists with the same name, an error will be produced.
|
Unit |
Unit.setLoggerClass(java.lang.String className)
Sets the class of the wrapper for the underlying logger.
|
Unit |
Unit.setLoggerType(net.xqhs.util.logging.logging.LogWrapper.LoggerType loggerType)
Sets the type of the logging infrastructure and wrapper used by this unit.
|
protected Unit |
Unit.setLoggerTypeClass(net.xqhs.util.logging.logging.LogWrapper.LoggerType loggerType,
java.lang.String className)
Setter for the logger type / logger wrapper class.
|
Unit |
Unit.setLogLevel(LoggerSimple.Level logLevel)
Sets the level of the log, as one of
LoggerSimple.Level . |
Unit |
Unit.setLogReporter(ReportingEntity reportingEntity)
Sets the
ReportingEntity to receive updates from the log. |
Unit |
Unit.setUnitName(java.lang.String name)
Sets the name of the unit (and therefore of the log).
|
Unit |
Unit.setUnitName(java.lang.String name,
boolean postfix,
boolean useLongClassName)
Sets the name of the unit (and therefore of the log).
|
private Unit |
Unit.setUnitName(java.lang.String name,
boolean addClassName,
boolean postfix,
boolean useLongClassName)
Aggregates parameters from the two other version of the method.
|