up.log up.log.config
Configuration object

Configures the logging output to the developer console.


Value

[config.enabled=false]
optional

Whether Unpoly will print debugging information to the developer console.

Debugging information includes which elements are being compiled and which events are being emitted. Note that errors will always be printed, regardless of this setting.

Type: boolean
[config.banner=true]
optional

Print the Unpoly banner to the developer console.

Type: boolean
[config.format]
optional

Format output using CSS.

Defaults to true in normal browsers. Defaults to false in browsers controlled by automation software like Selenium, Playwright or Puppeteer (when navigator.webdriver is true). This keeps the log readable for test runners and coding agents that read the console as plain text.

Type: boolean