GetPackageLogger returns a logger for a specific package using the global cache directory This ensures all packages log to the same unified log file.
(packageName string)
| 307 | // GetPackageLogger returns a logger for a specific package using the global cache directory |
| 308 | // This ensures all packages log to the same unified log file. |
| 309 | func GetPackageLogger(packageName string) interfaces.Logger { |
| 310 | // Reuse the already-initialized global logger to avoid scattering log files. |
| 311 | return GetGlobalLogger() |
| 312 | } |
| 313 | |
| 314 | // GetPackageLoggerConcrete returns a concrete Logger instance for packages that need the specific type |
| 315 | // This ensures all packages log to the same unified log file while maintaining type compatibility. |
no test coverage detected