package main

import (
	"fmt"
	"os"
	"time"
)

type logWriter struct {
}

func (writer logWriter) Write(bytes []byte) (int, error) {
	return fmt.Printf("[%s] [%s] %s", os.Args[0], time.Now().Format("2006-01-02T15:04:05"), string(bytes))
}
