func (log *Log) Close() {
	log.f.Close()
}
Close closes a log file
package ogdl
import "os"
type Log struct {
	f        *os.File
	autoSync bool
}
func OpenLog(file string) (*Log, error) {
	f, err := os.OpenFile(file, os.O_RDWR|os.O_CREATE, 0666)
	if err != nil {
		return nil, err
	}
	log := Log{f, true}
	return &log, nil
}