Added size calculation of Log.Write
Added size calculation of Log.Write