all repos — homestead @ a55d2572dcddd4cdf6326783b38bfd10e955c790

Code for my website

enable filtered debug logging via DEBUG="component.*"

Alan Pearce
commit

a55d2572dcddd4cdf6326783b38bfd10e955c790

parent

b5874da4f507580ebfd739d8f8dbe52bcdbfdd55

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M internal/config/config.gointernal/config/config.go
@@ -51,7 +51,7 @@ }
Menus map[string][]MenuItem } -func GetConfig(dir string) (*Config, error) { +func GetConfig(dir string, log *log.Logger) (*Config, error) { config := Config{} filename := filepath.Join(dir, "config.toml") log.Debug("reading config", "filename", filename)