VA Log Configuration Commands, etc...

* 🪵 Implemented an Improved Global logger solution
* 🥈 Removed duplicate APIClient inits
* 🐛 Corrected an issue with the payload for spconfig import
* 🚤 Significantly improved the Speed of Parsing log files with sail va parse
* 🎢 Improved error handling for all VA commands
* 💻 Added a VA List Command, along with Get and Set commands for VA Log Config
This commit is contained in:
luke-hagar-sp
2023-05-16 09:01:34 -05:00
parent 10d8ac3be5
commit c4c15361d6
2655 changed files with 685 additions and 863023 deletions

View File

@@ -5,10 +5,10 @@ import (
"fmt"
)
func PrettyPrint(v interface{}) {
func PrettyPrint(v interface{}) string {
b, err := json.MarshalIndent(v, "", " ")
if err != nil {
fmt.Println("error:", err)
}
fmt.Print(string(b))
return (string(b))
}