MCPcopy Create free account
hub / github.com/V2RaySSR/RealityChecker / PrintTimestampedMessage

Function PrintTimestampedMessage

internal/ui/display.go:34–38  ·  view source on GitHub ↗

PrintTimestampedMessage 打印带时间戳的消息

(format string, args ...interface{})

Source from the content-addressed store, hash-verified

32
33// PrintTimestampedMessage 打印带时间戳的消息
34func PrintTimestampedMessage(format string, args ...interface{}) {
35 timestamp := time.Now().Format("15:04:05")
36 message := fmt.Sprintf(format, args...)
37 fmt.Printf("[%s] %s\n", timestamp, message)
38}
39
40// PrintError 打印错误信息(带空行间距)
41func PrintError(message string) {

Callers 3

executeCSVMethod · 0.92
executeCheckMethod · 0.92
executeBatchMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected