Changed parameter type from string to object on Log.Write methods.