Slice the onions and mushrooms.
Crack the eggs and beat them well.
Melt butter in a pan and sauté the onions and mushrooms.
Pour the beaten eggs over the sautéed ingredients and cook while stirring.
Add shredded cheese on top and wait until it melts.
Transfer to a bowl to finish.