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)
Click to show internal directories.
Click to hide internal directories.