|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.millscript.functions.Function
org.millscript.millscript.conf.functions.LogLevelFunction
public final class LogLevelFunction
This class implements the configuration function LogLevel.
| Constructor Summary | |
|---|---|
LogLevelFunction()
|
|
| Method Summary | |
|---|---|
void |
apply(Machine mc,
int nargs)
Performs this function using the specified machine, with the specified number of arguments. |
Logger |
getLogger(java.lang.String level)
Returns a logger for the specified logging level. |
| Methods inherited from class org.millscript.millscript.functions.Function |
|---|
applyUpdater, checkNargs, checkNargsGT, checkUNargs, getName, modName, reportNargsError, reportNargsGTError, setName, toString, tryClone |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LogLevelFunction()
| Method Detail |
|---|
public void apply(Machine mc,
int nargs)
Function
apply in class Functionmc - the machine to perform this function onnargs - the number of arguments the function is being invoked withFunction.apply(org.millscript.millscript.vm.Machine, int)public Logger getLogger(java.lang.String level)
level - the log level to get a logger for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||