Class TracedAgent.Log
- java.lang.Object
-
- org.eolang.opeo.decompilation.agents.TracedAgent.Log
-
- All Implemented Interfaces:
TracedAgent.Output
- Enclosing class:
- TracedAgent
public static final class TracedAgent.Log extends Object implements TracedAgent.Output
Log output. Output target that logs messages using DEBUG level.- Since:
- 0.4
-
-
Constructor Summary
Constructors Constructor Description Log()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
register(Class<? extends DecompilationAgent> agent)
Register an agent that was used.void
write(String message)
Write a message.
-
-
-
Method Detail
-
write
public void write(String message)
Description copied from interface:TracedAgent.Output
Write a message.- Specified by:
write
in interfaceTracedAgent.Output
- Parameters:
message
- Message to write.
-
register
public void register(Class<? extends DecompilationAgent> agent)
Description copied from interface:TracedAgent.Output
Register an agent that was used.- Specified by:
register
in interfaceTracedAgent.Output
- Parameters:
agent
- Agent class used.
-
-