Categorygithub.com/adimax2953/log-tool
modulepackage
0.0.7
Repository: https://github.com/adimax2953/log-tool.git
Documentation: pkg.go.dev

# README

log-tool

Packet Log-Tool implements a way to use Log more easily

Install

go get -u -v github.com/adimax2953/log-tool
package main

import (
    "github.com/adimax2953/log-tool"
)


func main() {
    LogTool.LogDebug("testLogDebug")
	LogTool.LogDivider("testLogDivider")
	LogTool.LogInfo("testLogInfo")
	LogTool.LogError("testLogError")
	LogTool.LogWarning("testLogWarning")
	LogTool.LogReturnLine()
	LogTool.LogSystem("testLogSystem")
	LogTool.LogDevelop("testLogDevelop")
	LogTool.LogConfig("testLogConfig")
	LogTool.LogCron("testLogCron")
	LogTool.LogFatal("testLogFatal")
}

TODO

  1. Add test cases using "testify".
  2. Add log test method.
  3. Improve or remove useless code.
  4. Check code formatting.

# Functions

ex: LogTool.LogError("", err)LogType.Error, "Error", err).
ex: LogTool.LogError("", err)LogType.Error, "Error", err).
ex: LogTool.LogErrorN("", err)LogType.Error, "Error", err).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

config 資訊.
發送其他主機.
定時排程.
除錯使用.
開發環境才紀錄.
分隔線.
錯誤, 可能造成系統 Crash.
嚴重錯誤, 會關閉程式.
顯示資訊.
換行.
系統呼叫.
警示, 可能會造成資料異常.

# Type aliases

No description provided by the author