Skip to content

logSize

logSize(value) → value · System

Log the byte size of a value to stderr and pass the value through unchanged.

  • value (required): any value to measure
utlx
{
  output: logSize($input.document)       // logs "size: 4096 bytes" to stderr, passes value through
}

Released under AGPL-3.0.