Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvLogLevel = "LOG_SERVICE_SDK_LOG_LEVEL" EnvLogFileName = "LOG_SERVICE_SDK_LOG_FILE_NAME" EnvIsJsonType = "LOG_SERVICE_SDK_IS_JSON_TYPE" EnvLogMaxSize = "LOG_SERVICE_SDK_LOG_MAX_SIZE" EnvLogMaxBackups = "LOG_SERVICE_SDK_LOG_MAX_BACKUPS" EnvLogCompress = "LOG_SERVICE_SDK_LOG_COMPRESS" )
View Source
const ( LogLevelDebug = 0 LogLevelInfo LogLevelWarn LogLevelError )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerConfig ¶
type TLSSDKLogger ¶
var DefaultLogger TLSSDKLogger = initDefaultLogger()
func NewLogger ¶
func NewLogger(config *LoggerConfig) TLSSDKLogger
func (*TLSSDKLogger) GetLogLevel ¶
func (l *TLSSDKLogger) GetLogLevel() int
Click to show internal directories.
Click to hide internal directories.