lux.functions
Class Log

java.lang.Object
  extended by net.sf.saxon.lib.ExtensionFunctionDefinition
      extended by lux.functions.Log
All Implemented Interfaces:
Serializable

public class Log
extends net.sf.saxon.lib.ExtensionFunctionDefinition

lux:log($message as xs:string+, $level as xs:string?) as empty-sequence()

Writes a log message formed by joining the argument sequence with single spaces. The log level is INFO by default: valid values for $level are TRACE, DEBUG, INFO, WARN, ERROR, FATAL: these correspond to the slf4j log levels. The level argument is case-insensitive.

See Also:
Serialized Form

Constructor Summary
Log()
           
 
Method Summary
 net.sf.saxon.value.SequenceType[] getArgumentTypes()
           
 net.sf.saxon.om.StructuredQName getFunctionQName()
           
 int getMaximumNumberOfArguments()
           
 int getMinimumNumberOfArguments()
           
 net.sf.saxon.value.SequenceType getResultType(net.sf.saxon.value.SequenceType[] suppliedArgumentTypes)
           
 net.sf.saxon.lib.ExtensionFunctionCall makeCallExpression()
           
 
Methods inherited from class net.sf.saxon.lib.ExtensionFunctionDefinition
dependsOnFocus, hasSideEffects, trustResultType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log

public Log()
Method Detail

getFunctionQName

public net.sf.saxon.om.StructuredQName getFunctionQName()
Specified by:
getFunctionQName in class net.sf.saxon.lib.ExtensionFunctionDefinition

getArgumentTypes

public net.sf.saxon.value.SequenceType[] getArgumentTypes()
Specified by:
getArgumentTypes in class net.sf.saxon.lib.ExtensionFunctionDefinition

getResultType

public net.sf.saxon.value.SequenceType getResultType(net.sf.saxon.value.SequenceType[] suppliedArgumentTypes)
Specified by:
getResultType in class net.sf.saxon.lib.ExtensionFunctionDefinition

makeCallExpression

public net.sf.saxon.lib.ExtensionFunctionCall makeCallExpression()
Specified by:
makeCallExpression in class net.sf.saxon.lib.ExtensionFunctionDefinition

getMinimumNumberOfArguments

public int getMinimumNumberOfArguments()
Overrides:
getMinimumNumberOfArguments in class net.sf.saxon.lib.ExtensionFunctionDefinition

getMaximumNumberOfArguments

public int getMaximumNumberOfArguments()
Overrides:
getMaximumNumberOfArguments in class net.sf.saxon.lib.ExtensionFunctionDefinition


Copyright © 2013. All Rights Reserved.