Class NullLogger
java.lang.Object
it.poliba.sisinflab.tinyme.util.logging.Logger<NullLogger>
it.poliba.sisinflab.tinyme.util.logging.NullLogger
public final class NullLogger extends Logger<NullLogger>
Logger class that doesn't log anything.
- See Also:
Logger
-
Constructor Summary
Constructors Constructor Description NullLogger()
-
Method Summary
Modifier and Type Method Description NullLogger
clear()
Clears the logger, discarding anything it has logged in the past.NullLogger
log(Object obj)
Logs the specified object.NullLogger
log(String string)
Logs the given string.NullLogger
logABox(Reasoner reasoner)
Logs the ABox.NullLogger
logln(Object obj)
Logs the specified object and appends a newline character.NullLogger
logTaxonomy(Reasoner reasoner)
Logs the taxonomy computed by the specified reasoner instance.NullLogger
logTBox(Reasoner reasoner)
Logs the TBox.
-
Constructor Details
-
NullLogger
public NullLogger()
-
-
Method Details
-
logTBox
Description copied from class:Logger
Logs the TBox.- Overrides:
logTBox
in classLogger<NullLogger>
- Parameters:
reasoner
- Reasoner instance.- Returns:
- This logger.
-
logABox
Description copied from class:Logger
Logs the ABox.- Overrides:
logABox
in classLogger<NullLogger>
- Parameters:
reasoner
- Reasoner instance.- Returns:
- This logger.
-
logTaxonomy
Description copied from class:Logger
Logs the taxonomy computed by the specified reasoner instance.- Overrides:
logTaxonomy
in classLogger<NullLogger>
- Parameters:
reasoner
- Reasoner instance.- Returns:
- This logger.
-
log
Description copied from class:Logger
Logs the specified object.- Overrides:
log
in classLogger<NullLogger>
- Parameters:
obj
- Object to log.- Returns:
- This logger.
-
logln
Description copied from class:Logger
Logs the specified object and appends a newline character.- Overrides:
logln
in classLogger<NullLogger>
- Parameters:
obj
- Object to log.- Returns:
- This logger.
-
log
Description copied from class:Logger
Logs the given string.- Specified by:
log
in classLogger<NullLogger>
- Parameters:
string
- String to log.- Returns:
- This logger.
-
clear
Description copied from class:Logger
Clears the logger, discarding anything it has logged in the past.- Specified by:
clear
in classLogger<NullLogger>
- Returns:
- This logger.
-