receiving interface instead of string in logging methods