camlistore.org: camlistore.org/pkg/osutil/gce Index | Files

package gce

import "camlistore.org/pkg/osutil/gce"

Package gce configures hooks for running Camlistore for Google Compute Engine.

Index

Package Files

gce.go

func LogWriter Uses

func LogWriter() (w io.WriteCloser, err error)

LogWriter returns an environment-specific io.WriteCloser suitable for passing to log.SetOutput. It will also include writing to os.Stderr as well. Since it might be writing to a Google Cloud Logger, it is the responsibility of the caller to Close it when needed, to flush the last log entries.

Package gce imports 15 packages (graph) and is imported by 6 packages. Updated 2018-01-30. Refresh now. Tools for package owners.