Documentation ¶
Index ¶
- func Log(level LogLevelType, msg string, args ...interface{})
- func ReadInt24Be(data []byte) int
- func ReadInt32Be(data []byte) int
- func ReadInt32Le(data []byte) int
- func SetLogLevel(level LogLevelType)
- func Utf16BeToUtf8(data []byte) string
- func Utf16LeToUtf8(data []byte) string
- func Utf8ToUtf16Le(text string) []byte
- func WriteInt24Be(size int, dst []byte)
- func WriteInt32Be(size int, dst []byte)
- func WriteInt32Le(size int, dst []byte)
- func WriteUint32Be(size uint32, dst []byte)
- func WriteUint32Le(size uint32, dst []byte)
- type LogLevelType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Log ¶
func Log(level LogLevelType, msg string, args ...interface{})
func ReadInt24Be ¶
func ReadInt32Be ¶
func ReadInt32Le ¶
func SetLogLevel ¶
func SetLogLevel(level LogLevelType)
func Utf16BeToUtf8 ¶
func Utf16LeToUtf8 ¶
func Utf8ToUtf16Le ¶
func WriteInt24Be ¶
func WriteInt32Be ¶
func WriteInt32Le ¶
func WriteUint32Be ¶
func WriteUint32Le ¶
Types ¶
type LogLevelType ¶
type LogLevelType int
const ( ERROR LogLevelType = iota WARNING INFO DEBUG )
func LogLevel ¶
func LogLevel() LogLevelType
Click to show internal directories.
Click to hide internal directories.