DataJet
Search…
Welcome to DataJet
Tasks
Introduction
Blank
OOTB
Creating a custom task
Hooks
Introduction
Liquid
Introduction
Tags
Filters
apply
base64_decode
base64_encode
concat
encodeURI
email
file
graphql
http
in_timezone
log
parse
push
rest
time_subtract
time_add
run
Misc
Functions
Variables
Examples
Processing user submitted forms
Create orders from csv file
Custom shipping rates
Create simple order report
Send order data to Zapier
Powered By
GitBook
log
log
is a simple tag that will log anything to task logs section.
It can optionally accept a parameter. This parameter must be one of the following:
CRITICAL
ACTION
WARNING
INFO
Parameters will define the severity of the log.
Example
1
{{ "Hello world" | log: "INFO" }}
Copied!
This will output
Hello world
in the task logs section. Same could be done with:
1
{{ "Hello world" | log }}
Copied!
When creating task, all logs will be displayed in browser console.
Previous
in_timezone
Next
parse
Last modified
1yr ago
Copy link
Contents