Hello Paulpen Xu,
Thank you for posting in Q&A forum.
For header and footer , you could follow these two official links for your reference:
Format of a Text Log Section Header - Windows drivers | Microsoft Learn
Format of a Text Log Section Footer - Windows drivers | Microsoft Learn
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best Regards,
Daisy Zhou
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.