Revision [1518]

Last edited on 2010-10-12 10:14:27 by DavidLee
Additions:
log -c com.mycom.MyClass -p debug This is a debug info
Deletions:
log -c com.mycom.MyClass -l debug This is a debug info


Revision [1218]

Edited on 2010-02-15 09:58:23 by DavidLee
Additions:
||-c,-class classname||Use classname as the class for log4j. Default is the org.xmlsh.commands.builtin.log||
||-p,-priority priority||Specify the priority. One of debug,info,warn,error,fatal. Default: info||
Deletions:
||-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||


Revision [1179]

Edited on 2010-02-05 17:43:32 by DavidLee
Additions:
[[Logging]]


Revision [1099]

Edited on 2009-12-27 07:49:07 by DavidLee
Additions:
Log serializes each argument as per [[CommandEcho echo]], separating each argument with a space. The resulting string is written to the log4j log.
Deletions:
Log serializes each argument as per [[CommandEcho echo]], separating each argument with a space. The resulting string is written to log4j log.


Revision [1098]

Edited on 2009-12-27 07:48:38 by DavidLee
Additions:
||-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 [[CommandEcho echo]], separating each argument with a space. The resulting string is written to log4j log.
%%
log Started running program
%%
%%
log -c com.mycom.MyClass -l debug This is a debug info
%%


Revision [1097]

The oldest known version of this page was created on 2009-12-27 07:40:03 by DavidLee
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki