service

package
v0.0.0-...-05e86ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConsoleError

func ConsoleError(msg string)

func ConsoleInfo

func ConsoleInfo(info string)

Types

type TLogWriter

type TLogWriter struct {
	// contains filtered or unexported fields
}

TLogWriter 日志写入器

var LogWriter *TLogWriter

func NewLogWriter

func NewLogWriter(strLocate string) *TLogWriter

func (*TLogWriter) WriteDebug

func (lw *TLogWriter) WriteDebug(info string, printConsole bool)

func (*TLogWriter) WriteError

func (lw *TLogWriter) WriteError(info string, printConsole bool)

func (*TLogWriter) WriteInfo

func (lw *TLogWriter) WriteInfo(info string, printConsole bool)

func (*TLogWriter) WriteLocal

func (lw *TLogWriter) WriteLocal(info string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL