While Mechanic will only perform actions for well-formed action definitions, Mechanic records and displays all JSON objects generated by a task. This means that you can create your own logging by adding code like this to your task scripts:

{% capture log_message %}
  The current Unix timestamp is {{ "now" | date: "%s" | json }}.
{% endcapture %}

{"log": {{ log_message | strip | json }}}

A task which only contains this code will result in something like this:

Did this answer your question?