go/src/log/log_test.go

const Rdate

const Rtime

const Rmicroseconds

const Rline

const Rlongfile

const Rshortfile

type tester

var tests

// Test using Println("hello", 23, "world") or using Printf("hello %d world", 23)
func testPrint(t *testing.T, flag int, prefix string, pattern string, useFormat bool) {}

func TestDefault(t *testing.T) {}

func TestAll(t *testing.T) {}

func TestOutput(t *testing.T) {}

func TestNonNewLogger(t *testing.T) {}

func TestOutputRace(t *testing.T) {}

func TestFlagAndPrefixSetting(t *testing.T) {}

func TestUTCFlag(t *testing.T) {}

func TestEmptyPrintCreatesLine(t *testing.T) {}

func TestDiscard(t *testing.T) {}

func BenchmarkItoa(b *testing.B) {}

func BenchmarkPrintln(b *testing.B) {}

func BenchmarkPrintlnNoFlags(b *testing.B) {}

type discard

func (discard) Write(p []byte) (int, error) {}

func BenchmarkConcurrent(b *testing.B) {}

func BenchmarkDiscard(b *testing.B) {}