package utils

import (
	"encoding/json"
	"fmt"
	"log"
)

func prettyLog(i interface{}) {
	s, _ := json.MarshalIndent(i, "", "\t")
	log.Printf("%s\n", string(s))
}

func PrettyPrint(i interface{}) {
	s, _ := json.MarshalIndent(i, "", "\t")
	fmt.Println(string(s))
}
