Platform Explorer / Nuxeo Platform 5.6

Operation Log

Log

Description

Logging with log4j
Operation id Log
AliasesLogOperation
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 org.nuxeo.ecm.automation.core.operations.LogOperation
Contributing component org.nuxeo.ecm.core.automation.coreContrib

JSON definition

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