github.com/petermattis/pebble@v0.0.0-20190905164901-ab51a2166067/event.go (about)

     1  // Copyright 2018 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/petermattis/pebble/internal/base"
     8  
     9  // TableInfo exports the base.TableInfo type.
    10  type TableInfo = base.TableInfo
    11  
    12  // CompactionInfo exports the base.CompactionInfo type.
    13  type CompactionInfo = base.CompactionInfo
    14  
    15  // FlushInfo exports the base.FlushInfo type.
    16  type FlushInfo = base.FlushInfo
    17  
    18  // ManifestCreateInfo exports the base.ManifestCreateInfo type.
    19  type ManifestCreateInfo = base.ManifestCreateInfo
    20  
    21  // ManifestDeleteInfo exports the base.ManifestDeleteInfo type.
    22  type ManifestDeleteInfo = base.ManifestDeleteInfo
    23  
    24  // TableCreateInfo exports the base.TableCreateInfo type.
    25  type TableCreateInfo = base.TableCreateInfo
    26  
    27  // TableDeleteInfo exports the base.TableDeleteInfo type.
    28  type TableDeleteInfo = base.TableDeleteInfo
    29  
    30  // TableIngestInfo exports the base.TableIngestInfo type.
    31  type TableIngestInfo = base.TableIngestInfo
    32  
    33  // WALCreateInfo exports the base.WALCreateInfo type.
    34  type WALCreateInfo = base.WALCreateInfo
    35  
    36  // WALDeleteInfo exports the base.WALDeleteInfo type.
    37  type WALDeleteInfo = base.WALDeleteInfo
    38  
    39  // WriteStallBeginInfo exports the base.WriteStallBeginInfo type.
    40  type WriteStallBeginInfo = base.WriteStallBeginInfo
    41  
    42  // EventListener exports the base.EventListener type.
    43  type EventListener = base.EventListener
    44  
    45  // MakeLoggingEventListener exports the base.MakeLoggingEventListener function.
    46  func MakeLoggingEventListener(logger Logger) EventListener {
    47  	return base.MakeLoggingEventListener(logger)
    48  }