Merge pull request #543 from matthiasbeyer/libimagstorestdhook/debugging-hook-output

Print debugging information in debug hook when setting config
This commit is contained in:
Matthias Beyer 2016-07-16 11:20:56 +02:00 committed by GitHub
commit eb3eac422d

View file

@ -30,8 +30,9 @@ impl Hook for DebugHook {
"stdhook_debug"
}
fn set_config(&mut self, _: &Value) {
() // We are not configurable here.
fn set_config(&mut self, c: &Value) {
debug!("Trying to set configuration in debug hook: {:?}", c);
debug!("Ignoring configuration in debug hook, we don't need a config here");
}
}