## redirectTo

## Description

Stop the rendering of the current page and redirect the user to another Locomotive page. This page is specified by its handle.

## Usage



Note: the locale argument is optional.

## Example



## Logging

## Description

When using actions, you might want to print out some of your requests, responses or simply print out statements, to see if your code is being executed. The way to do that is by using Duktape's built in class `Logger`.



For more details about the `Logger` class you can read the official documentation: [https://wiki.duktape.org/howtologging]