1.3 KiB
1.3 KiB
Hints
General
- The
String
class has many useful built-in methods.
1. Get message from a log line
- Different options to search for text in a string are explored in this tutorial.
- How to split strings can be seen here
- Removing white space is built-in.
2. Get log level from a log line
3. Reformat a log line
- There are several ways to concatenate strings