Documentation
¶
Overview ¶
This code serves as an example and is not meant for production use.
Copyright 2020 Veeva Systems Inc.
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
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- func Debug(msg string)
- func Debugf(msg string, v ...interface{})
- func Error(msg string)
- func Errorf(msg string, v ...interface{})
- func Fatal(msg string)
- func Fatalf(msg string, v ...interface{})
- func Info(msg string)
- func Infof(msg string, v ...interface{})
- func InitLog(noColor bool)
- func NoFormatLog(msg string)
- func NoFormatLogf(msg string, v ...interface{})
- func Panic(msg string)
- func Panicf(msg string, v ...interface{})
- func Trace(msg string)
- func Tracef(msg string, v ...interface{})
- func Warn(msg string)
- func Warnf(msg string, v ...interface{})
Constants ¶
const ( ColorBlack = iota + 30 ColorRed ColorGreen ColorYellow ColorBlue ColorMagenta ColorCyan ColorWhite ColorBold = 1 ColorDarkGray = 90 )
Variables ¶
This section is empty.
Functions ¶
func NoFormatLog ¶
func NoFormatLog(msg string)
NoFormatLog - log message without any format or level
func NoFormatLogf ¶
func NoFormatLogf(msg string, v ...interface{})
NoFormatLogf - log message without any format or level
Types ¶
This section is empty.