Unpoly
3.10
API Tutorial Demo Install Changes Community GitHub Twitter Menu
Menu
Edit this page

API Logging
module up.log

Unpoly can print debugging information to the browser console.

The information in the log includes:

  • Which events are called
  • When we're making requests to the network
  • Which compilers are applied to which elements

By default only errors are logged. You can enable debug logging through up.log.enable():

Screenshot of Unpoly logging to the browser console


Features

Essentials

up.log.enable()
JS

Starts printing debugging information to the developer console.

up.log.disable()
JS

Stops printing debugging information to the developer console.

All features

JS
up.log.config stable

Configures the logging output on the developer console.

JS
up.log.disable() stable

Stops printing debugging information to the developer console.

JS
up.log.enable() stable

Starts printing debugging information to the developer console.

Made by Henning Koch
Imprint
Privacy policy