Shubham Tholiya
12/31/2024, 11:27 AMErik Osterman (Cloud Posse)
12/31/2024, 3:00 PMErik Osterman (Cloud Posse)
12/31/2024, 3:01 PMErik Osterman (Cloud Posse)
12/31/2024, 3:02 PMErik Osterman (Cloud Posse)
12/31/2024, 3:02 PMShubham Tholiya
12/31/2024, 3:05 PMAndriy Knysh (Cloud Posse)
12/31/2024, 3:14 PMAndriy Knysh (Cloud Posse)
12/31/2024, 3:16 PMErik Osterman (Cloud Posse)
12/31/2024, 6:32 PMAndriy Knysh (Cloud Posse)
01/01/2025, 1:56 PMAndriy Knysh (Cloud Posse)
01/01/2025, 1:57 PMAndriy Knysh (Cloud Posse)
01/01/2025, 1:57 PMhttps://github.com/cloudposse/atmos/blob/main/pkg/logger/logger.go#L61-L98
https://github.com/cloudposse/atmos/blob/main/pkg/utils/log_utils.go#L106-L143Andriy Knysh (Cloud Posse)
01/01/2025, 1:58 PMAndriy Knysh (Cloud Posse)
01/01/2025, 1:58 PMLogger)Erik Osterman (Cloud Posse)
01/01/2025, 2:33 PMShubham Tholiya
01/01/2025, 8:10 PMAndriy Knysh (Cloud Posse)
01/02/2025, 10:59 PMLogTrace, LogDebug, LogInfo (which are called from the Go code), and the internal (not exported) function log (which handles the log files and file descriptorsAndriy Knysh (Cloud Posse)
01/02/2025, 11:28 PMLogXXX functions
// func "a" logs at the log level Info, meaning the messages will be logged when the configured log level is Info, Debug, Trace, etc.
func a() {
LogInfo(..., "Starting doing something")
.....
LogInfo(..., "Finished doing something")
}
// func "b" logs at the log level Trace, meaning the messages will be logged only when the configured log level is Trace
func b() {
LogTrace(..., "Starting doing something")
.....
LogTrace(..., "Finished doing something")
}Andriy Knysh (Cloud Posse)
01/02/2025, 11:29 PMa and b funcs above) knows at what log level it wants the messages to be logged