github.com/cockroachdb/pebble@v0.0.0-20231214172447-ab4952c5f87b/logger.go (about)

     1  // Copyright 2011 The LevelDB-Go and Pebble Authors. All rights reserved. Use
     2  // of this source code is governed by a BSD-style license that can be found in
     3  // the LICENSE file.
     4  
     5  package pebble
     6  
     7  import "github.com/cockroachdb/pebble/internal/base"
     8  
     9  // Logger defines an interface for writing log messages.
    10  type Logger = base.Logger
    11  
    12  // DefaultLogger logs to the Go stdlib logs.
    13  var DefaultLogger = base.DefaultLogger
    14  
    15  // LoggerAndTracer defines an interface for logging and tracing.
    16  type LoggerAndTracer = base.LoggerAndTracer