Fix variadic function call for custom logger