You could do something like this:
protected static object[] Args(params object[] args)
{
return args;
}
protected void Log(string message, object[] args = null, [CallerMemberName] string method = "")
{
// Log
}
To use the log do like this:
Log("My formatted message a1 = {0}, a2 = {2}", Args(10, "Nice"));