17 lines
326 B
Go
17 lines
326 B
Go
package output
|
|
|
|
import "fmt"
|
|
|
|
// Simple color-coded log helpers
|
|
func LogInfo(msg string) {
|
|
fmt.Printf("\033[36m[INFO]\033[0m %s\n", msg) // Cyan
|
|
}
|
|
|
|
func LogSuccess(msg string) {
|
|
fmt.Printf("\033[32m[SUCCESS]\033[0m %s\n", msg) // Green
|
|
}
|
|
|
|
func LogError(msg string) {
|
|
fmt.Printf("\033[31m[ERROR]\033[0m %s\n", msg) // Red
|
|
}
|