Documentation ¶
Overview ¶
Copyright (c) 2023
@author 贺鹏Kavin 微信公众号:技术岁月 https://github.com/skyhackvip/risk_engine
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Copyright (c) 2023 ¶
@author 贺鹏Kavin 微信公众号:技术岁月 https://github.com/skyhackvip/risk_engine
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Index ¶
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func InitLogger(outputMethod, path string)
- func NewDefaultLogger(writer io.Writer, prefix string, flag int, level Level) *defaultLogger
- func Warn(v ...interface{})
- func Warnf(format string, v ...interface{})
- type Level
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultLogger ¶
Types ¶
type Logger ¶
type Logger interface { Error(v ...interface{}) Errorf(format string, v ...interface{}) Warn(v ...interface{}) Warnf(format string, v ...interface{}) Info(v ...interface{}) Infof(format string, v ...interface{}) Debug(v ...interface{}) Debugf(format string, v ...interface{}) }
interface
Click to show internal directories.
Click to hide internal directories.