MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / getScriptsLogger

Function getScriptsLogger

internal/plugins/communityscripts/scripts.go:171–178  ·  view source on GitHub ↗

getScriptsLogger returns the scripts logger, initializing it if necessary.

()

Source from the content-addressed store, hash-verified

169
170// getScriptsLogger returns the scripts logger, initializing it if necessary.
171func getScriptsLogger() interfaces.Logger {
172 scriptsLoggerOnce.Do(func() {
173 // Use the global logger system for unified logging
174 scriptsLogger = logger.GetPackageLogger("scripts")
175 })
176
177 return scriptsLogger
178}
179
180// getPluginCache returns a cache instance dedicated to the community scripts plugin.
181func getPluginCache() cache.Cache {

Callers 5

GetScriptMetadataFilesFunction · 0.70
GetScriptMetadataFunction · 0.70
FetchScriptsFunction · 0.70
InstallScriptWithOptionsFunction · 0.70
InstallScriptInLXCFunction · 0.70

Calls 1

GetPackageLoggerFunction · 0.92

Tested by

no test coverage detected