Revision [1179]

This is an old revision of CommandLog made by DavidLee on 2010-02-05 17:43:32.

 

Command log


Name

log writes an entry to log4j log


Synopsis

log [options] Arg ...


Options

-c classname
-class classname
Use classname as the class for log4j. Default is the org.xmlsh.commands.builtin.log
-p priority
-priority priority
Specify the priority. One of debug,info,warn,error,fatal. Default: info


Usage

Log serializes each argument as per echo, separating each argument with a space. The resulting string is written to the log4j log.


Examples

log Started running program


log -c com.mycom.MyClass -l debug This is a debug info




CategoryCommands
Commands
Logging
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki