Source: https://github.com/rootkitt/LibComponentLogging-LogFile-Example
Care to check out the GitHub Channel on YouTube while you wait?