Package org.eolang.jeo
Class Logging
java.lang.Object
org.eolang.jeo.Logging
- All Implemented Interfaces:
Transformation
Translation that leaves a log message before and after applying the original translation.
- Since:
- 0.6
-
Constructor Summary
ConstructorsConstructorDescriptionLogging(String process, String participle, Transformation origin) Constructor. -
Method Summary
-
Constructor Details
-
Logging
Constructor.- Parameters:
process- Process name.participle- Participle of the process.origin- Original transformation.
-
-
Method Details
-
source
Description copied from interface:TransformationThe path to the file to be transformed.- Specified by:
sourcein interfaceTransformation- Returns:
- Path to the file.
-
target
Description copied from interface:TransformationThe path to the transformed file.- Specified by:
targetin interfaceTransformation- Returns:
- Path to the transformed file.
-
transform
public byte[] transform()Description copied from interface:TransformationTransform the file.- Specified by:
transformin interfaceTransformation- Returns:
- Transformed file.
-