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 voidregister(Class<? extends DecompilationAgent> agent)Register an agent that was used.voidwrite(String message)Write a message.
-
-
-
Method Detail
-
write
public void write(String message)
Description copied from interface:TracedAgent.OutputWrite a message.- Specified by:
writein interfaceTracedAgent.Output- Parameters:
message- Message to write.
-
register
public void register(Class<? extends DecompilationAgent> agent)
Description copied from interface:TracedAgent.OutputRegister an agent that was used.- Specified by:
registerin interfaceTracedAgent.Output- Parameters:
agent- Agent class used.
-
-