Additions:
log -c com.mycom.MyClass -p debug This is a debug info
Deletions:
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||
||-p,-priority priority||Specify the priority. One of debug,info,warn,error,fatal. Default: info||
Deletions:
-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||
Additions:
[[Logging]]
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:
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
%%
-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
%%