package logging

import (
	"fmt"
	"os"
)

// Simple logging package matching bash script format:
// [INFO] message
// [WARN] message
// [ERROR] message
// No timestamps or additional metadata

// Info prints an informational message
func Info(msg string) {
	fmt.Printf("[INFO] %s\n", msg)
}

// Warn prints a warning message
func Warn(msg string) {
	fmt.Printf("[WARN] %s\n", msg)
}

// Error prints an error message
func Error(msg string) {
	fmt.Fprintf(os.Stderr, "[ERROR] %s\n", msg)
}
