...

Package log

import "github.com/hyperledger/fabric-ca/lib/common/log"
Overview
Index

Overview ▾

Constants

Constants defined for the different log levels

const (
    INFO     = "info"
    WARNING  = "warning"
    DEBUG    = "debug"
    ERROR    = "error"
    FATAL    = "fatal"
    CRITICAL = "critical"
)

func SetDefaultLogLevel

func SetDefaultLogLevel(logLevel string, debug bool)

SetDefaultLogLevel sets the default log level

func SetLogLevel

func SetLogLevel(logLevel string, debug bool) error

SetLogLevel sets the log level