github.com/GuanceCloud/cliutils@v1.1.21/pipeline/pipeline.go (about)

     1  // Unless explicitly stated otherwise all files in this repository are licensed
     2  // under the MIT License.
     3  // This product includes software developed at Guance Cloud (https://www.guance.com/).
     4  // Copyright 2021-present Guance, Inc.
     5  
     6  // Package pipeline implement pipeline.
     7  package pipeline
     8  
     9  import (
    10  	"github.com/GuanceCloud/cliutils/pipeline/manager"
    11  	"github.com/GuanceCloud/cliutils/pipeline/offload"
    12  	"github.com/GuanceCloud/cliutils/pipeline/ptinput/funcs"
    13  	"github.com/GuanceCloud/cliutils/pipeline/ptinput/ipdb/geoip"
    14  	"github.com/GuanceCloud/cliutils/pipeline/ptinput/ipdb/iploc"
    15  	"github.com/GuanceCloud/cliutils/pipeline/ptinput/plmap"
    16  	"github.com/GuanceCloud/cliutils/pipeline/ptinput/refertable"
    17  	"github.com/GuanceCloud/cliutils/pipeline/stats"
    18  )
    19  
    20  func InitLog() {
    21  	// pipeline scripts manager
    22  	manager.InitLog()
    23  
    24  	// pipeline offload
    25  	offload.InitLog()
    26  
    27  	// all ptinputs's package
    28  
    29  	// inner pl functions
    30  	funcs.InitLog()
    31  	// ip db
    32  	iploc.InitLog()
    33  	geoip.InitLog()
    34  	// pipeline map
    35  	plmap.InitLog()
    36  	// refertable
    37  	refertable.InitLog()
    38  
    39  	// stats
    40  	stats.InitLog()
    41  }