logMessage 2.0.3
Copyright (C) 2009 Weik Hard- & Software, Ralf Weik.
usage: logMessage [-V | --usage | [
[--removeTs] [--removeTsR]
[[--stdin|-] | --file: | --exec:]
[[] []
]
-V: shows version information
--usage: shows this information
--removeTs removes old timestamp
--removeTsR removes old timestamps
-: read message from STDIN
--stdin: read message from STDIN
--file: read message from file
--exec: read message from STDIN and STDERR
of application (returns exit code from application)
: message type/tag
ex.: I: Information (default)
U: User message
W: Warning
E: Error
F: Fatal error
line mode (--stdin, --file, --exec)
| or -: each new line is a first line
+: each line is a 2nd+ line
message line type (for first line only, 2nd+ = '+')
| or -: start with first line (default)
+: start with 2nd+ line
: message, supports ˆn (new line), ˆt (tab)
ex.: logMessage I Info
logMessage W+ Warning with additional descriptionˆnin 2nd line!
logMessage E+ Error
logMessage F+ Fatal error
logMessage --removeTS --stdin- F+ read message from STDIN