Search in sources :

Example 1 with LogTask

use of alien4cloud.topology.task.LogTask in project alien4cloud by alien4cloud.

the class FlowExecutionLog method info.

public void info(String message, Object... args) {
    FormattingTuple ft = MessageFormatter.arrayFormat(message, args);
    infos.add(new LogTask(ft.getMessage()));
}
Also used : FormattingTuple(org.slf4j.helpers.FormattingTuple) LogTask(alien4cloud.topology.task.LogTask)

Example 2 with LogTask

use of alien4cloud.topology.task.LogTask in project alien4cloud by alien4cloud.

the class FlowExecutionLog method error.

public void error(String message, Object... args) {
    FormattingTuple ft = MessageFormatter.arrayFormat(message, args);
    errors.add(new LogTask(ft.getMessage()));
}
Also used : FormattingTuple(org.slf4j.helpers.FormattingTuple) LogTask(alien4cloud.topology.task.LogTask)

Example 3 with LogTask

use of alien4cloud.topology.task.LogTask in project alien4cloud by alien4cloud.

the class FlowExecutionLog method warn.

public void warn(String message, Object... args) {
    FormattingTuple ft = MessageFormatter.arrayFormat(message, args);
    warnings.add(new LogTask(ft.getMessage()));
}
Also used : FormattingTuple(org.slf4j.helpers.FormattingTuple) LogTask(alien4cloud.topology.task.LogTask)

Aggregations

LogTask (alien4cloud.topology.task.LogTask)3 FormattingTuple (org.slf4j.helpers.FormattingTuple)3