I heard that young JD Rockerfeller was told by his father to keep track of every penny he spent in a notebook. But if I remember correctly his father was rich.
Most of us don't have the discipline to create a budget and to track expenses. If you are, then a spreadsheet will work nicely. You can have a column with a date or month, the amount, whether the expense is discretionary or not, a category and a description. For looking back, you can create reports using pivot tables. So if you want to see how much you paid for utilities, it is very easy to do. You might want to set a minimum amount to track. That would help trigger a reminder to you to enter the expense into the spreadsheet. The daily discipline is tough enough, rather than trying to enter every penny spent.