Better logs for common ActionLog attribute paramters
This commit is contained in:
@@ -135,5 +135,12 @@ namespace MileageTraker.Web.ViewModels.CreateLog
|
||||
if (result != null)
|
||||
yield return result;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return string.Format(
|
||||
"vehicle: {0}, odo: {1}, type: {2}, city: {3}, gas: {4}, purpose: {5}, date: {6}",
|
||||
VehicleId, EndOdometer, LogType, CityName, GasPurchased, Purpose, Date.ToShortDateString());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user