-
Notifications
You must be signed in to change notification settings - Fork 6
Log Formatting
Muhammad Umair Adil edited this page Sep 12, 2018
·
1 revision
You can apply following log formats:
1. LogFormatter.FORMAT_CURLY
2. LogFormatter.FORMAT_SQUARE
3. LogFormatter.FORMAT_CSV
4. LogFormatter.FORMAT_CUSTOM
To apply CSV format, you need to provide deliminator, by default it is comma ','. To apply custom formats you need to provide opening & closing character. Like {},[], ' ' etc
1. {TAG} {FUNCTION_NAME} {YOUR_LOGGED_EVENT} {07:05:2017 11:22:17 AM} {Info}
2. [TAG] [FUNCTION_NAME] [YOUR_LOGGED_EVENT] [07:05:2017 11:22:17 AM] [Info]
TAG;FUNCTION_NAME;YOUR_LOGGED_EVENT;07:05:2017 11:22:17 AM;Info