Skip to content

Latest commit

 

History

History
46 lines (25 loc) · 643 Bytes

log.adoc

File metadata and controls

46 lines (25 loc) · 643 Bytes

log

since version 1.12.3

This macro results sends the input to the log output. The macro has one parop, level that may specify the logging level.

The possible values for the level are given by the Java JDK logging levels. These currently are:

  • ALL

  • TRACE

  • FINER

  • DEBUG

  • FINE

  • INFO

  • WARNING

  • ERROR

  • SEVERE

  • OFF

The default level is INFO.

The usage of the macro is, for example

Jamal source
{@log [level=DEBUG]this is a debug message}

The debugging level and output is controlled by the logging configuration of the JVM.

The result of the macro is an empty string.