Platform Explorer / Nuxeo Platform 5.8

Operation LogOperation (Log)

In component BuiltIn

Description

Logging with log4j
Operation id LogOperation
Category Notification
Label Log
Requires
Since

Parameters

Name Description Type Required Default value
level string yes info, debug, warn, error 
message string yes  
category string no  

Signature

Inputs void
Outputs void

Implementation Information

Implementation Class Javadoc: org.nuxeo.ecm.automation.core.operations.LogOperation
Contributing Component BuiltIn

JSON Definition

{
  "id" : "LogOperation",
  "label" : "Log",
  "category" : "Notification",
  "requires" : "",
  "description" : "Logging with log4j",
  "url" : "LogOperation",
  "signature" : [ "void", "void" ],
  "params" : [ {
    "name" : "level",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : "Option",
    "order" : 0,
    "values" : [ "info", "debug", "warn", "error" ]
  }, {
    "name" : "message",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : "",
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "category",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : "",
    "order" : 0,
    "values" : [ ]
  } ]
}