MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / Console

Method Console

cli/pkg/common/log.go:328–341  ·  view source on GitHub ↗

输出到控制台,但是不加任何的修饰

(args ...interface{})

Source from the content-addressed store, hash-verified

326
327// 输出到控制台,但是不加任何的修饰
328func (sLog *smartIDELogStruct) Console(args ...interface{}) {
329
330 if len(args) <= 0 {
331 return
332 }
333
334 strs := []string{}
335 for _, item := range args {
336 strs = append(strs, fmt.Sprint(item))
337 }
338 strs = entryptionKeys(strs)
339 fmt.Println(strs)
340 sugarLogger.Info(strs)
341}
342
343// 输出到控制台,但是不加任何的修饰
344func (sLog *smartIDELogStruct) ConsoleDebug(args ...interface{}) {

Callers 10

mainFunction · 0.80
ExecSSHkeyPolicyMethod · 0.80
k8s.goFile · 0.80
reset.goFile · 0.80
remove.goFile · 0.80
config.goFile · 0.80
get.goFile · 0.80
version.goFile · 0.80
host-get.goFile · 0.80

Calls 2

entryptionKeysFunction · 0.85
InfoMethod · 0.80

Tested by

no test coverage detected