package jsonlog

import "github.com/dotcloud/docker/pkg/jsonlog"

Index

Functions

func WriteLog

func WriteLog(src io.Reader, dst io.WriteCloser, format string) error

Types

type JSONLog

type JSONLog struct {
	Log     string    `json:"log,omitempty"`
	Stream  string    `json:"stream,omitempty"`
	Created time.Time `json:"time"`
}

func (*JSONLog) Format

func (jl *JSONLog) Format(format string) (string, error)

Source Files

jsonlog.go

Version
v1.2.0
Published
Aug 20, 2014
Platform
darwin/amd64
Imports
5 packages
Last checked
5 minutes ago

Tools for package owners.