Writes a formatted log message to standard out or to the specified log file
log [OPTION] {message}
Option | Description |
---|---|
-h, --help | Show help and usage information |
-v, --version | Show version information |
-m, --message | Specify the message to log |
-l, --logfile | Specify log file to write to |
-t, --trace | Return trace style message |
-d, --debug | Return debug style message |
-i, --info | Return info style message |
-w, --warning | Return warning style message |
-e, --error | Return error style message |
-f, --fatal | Return fatal style message |
- date
Note: dependencies should be standard on Linux and MacOS.