package
Version:
v0.0.0-...-1fe7181
Opens a new window with list of versions in this module.
Published: May 27, 2016
License: Apache-2.0, BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package grpclog defines logging for grpc.
func Fatal(args ...interface{})
Fatal is equivalent to Print() followed by a call to os.Exit() with a non-zero exit code.
func Fatalf(format string, args ...interface{})
Fatalf is equivalent to Printf() followed by a call to os.Exit() with a non-zero exit code.
func Fatalln(args ...interface{})
Fatalln is equivalent to Println() followed by a call to os.Exit()) with a non-zero exit code.
func Print(args ...interface{})
Print prints to the logger. Arguments are handled in the manner of fmt.Print.
func Printf(format string, args ...interface{})
Printf prints to the logger. Arguments are handled in the manner of fmt.Printf.
func Println(args ...interface{})
Println prints to the logger. Arguments are handled in the manner of fmt.Println.
SetLogger sets the logger that is used in grpc.
type Logger interface {
Fatal(args ...interface{})
Fatalf(format string, args ...interface{})
Fatalln(args ...interface{})
Print(args ...interface{})
Printf(format string, args ...interface{})
Println(args ...interface{})
}
Logger mimics golang's standard Logger as an interface.
Source Files
¶
Directories
¶
Package glogger defines glog-based logging for grpc.
|
Package glogger defines glog-based logging for grpc. |
Click to show internal directories.
Click to hide internal directories.