I've seen something like this many times but people usually call it `logger` since `log` sounds like a function.