How do I develop a trading journal and why is it important?

Which is the best way to velop a trading journal and why is it important?