I'm using kubectl to print logs from pods. (my adventure with kubectl and powershell started today)
Our logs always start with:
[12:00:49 INF] ...
or
[12:00:49 WRN] ...
or
[12:00:49 ERR] ...
My goal is to see those lines in colors based on log level.
I would assume I need to add some kind of script to $profile analyzing output of kubectl and colorize it line by line.
Please note that in $profile file I already have scripts for kubectl autocomplete.
Is it possible to do and if so could you please direct me how to do it.
