func (c *Context) logger() log.Interface { if c == nil || c.R == nil { return nullLogger{} } if internal.InAppEngineDevServer() { // Return the stderr logger here, since otherwise // the messages are not logged. if c.app.Logger == nil { return nullLogger{} } return c.app.Logger } return &gaeLogger{c: appengine.NewContext(c.R)} }
func isatty(w io.Writer) bool { if internal.InAppEngineDevServer() { return true } return false }
func init() { if internal.InAppEngineDevServer() { DefaultFilename = pathutil.Relative("dev.conf") } }