How to put my logs in different types document?