Involved Source Filesbolt_logger.goconsole.go
Package log defines the logging interface used internally by the driver and
provides default logging implementations.
void.go
Package-Level Type Names (total 5, all are exported)
Logger is used throughout the driver for logging purposes.
Driver client can implement this interface and provide an implementation
upon driver creation.
All logging functions takes a name and id that corresponds to the name of
the logging component and it's identity, for example "router" and "1" to
indicate who is logging and what instance.
Database connections takes to form of "bolt3" and "[email protected]:7687"
where "bolt3" is the name of the protocol handler in use, "bolt-123" is the
databases identity of the connection on server "192.168.0.1:7687".
( T) Debugf(name string, id string, msg string, args ...interface{})
Error is called whenever the driver encounters an error that might
or might not cause a retry operation which means that all logged
errors are not critical. Type of err might or might not be a publicly
exported type. The same root cause of an error might be reported
more than once by different components using same or different err types.
( T) Infof(name string, id string, msg string, args ...interface{})( T) Warnf(name string, id string, msg string, args ...interface{})
*ConsoleVoid
func github.com/neo4j/neo4j-go-driver/v4/neo4j/internal/bolt.Connect(serverName string, conn net.Conn, auth map[string]interface{}, userAgent string, routingContext map[string]string, logger Logger, boltLog BoltLogger) (db.Connection, error)
func github.com/neo4j/neo4j-go-driver/v4/neo4j/internal/bolt.NewBolt3(serverName string, conn net.Conn, log Logger, boltLog BoltLogger) *bolt.bolt3
func github.com/neo4j/neo4j-go-driver/v4/neo4j/internal/bolt.NewBolt4(serverName string, conn net.Conn, log Logger, boltLog BoltLogger) *bolt.bolt4
func github.com/neo4j/neo4j-go-driver/v4/neo4j/internal/pool.New(maxSize int, maxAge time.Duration, connect pool.Connect, logger Logger, logId string) *pool.Pool
func github.com/neo4j/neo4j-go-driver/v4/neo4j/internal/router.New(rootRouter string, getRouters func() []string, routerContext map[string]string, pool router.Pool, logger Logger, logId string) *router.Router
func github.com/neo4j/neo4j-go-driver/v4/neo4j.newSession(config *neo4j.Config, router neo4j.sessionRouter, pool neo4j.sessionPool, mode db.AccessMode, bookmarks []string, databaseName string, fetchSize int, logger Logger, boltLogger BoltLogger) *neo4j.session
func github.com/neo4j/neo4j-go-driver/v4/neo4j/internal/bolt.dechunkMessage(conn net.Conn, msgBuf []byte, readTimeout time.Duration, logger Logger, logId string) ([]byte, []byte, error)
func github.com/neo4j/neo4j-go-driver/v4/neo4j/internal/bolt.resetConnectionReadDeadline(conn net.Conn, readTimeout time.Duration, logger Logger, logId string)
The pages are generated with Goldsv0.4.2. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds.