Sample loggers are simple examples to get started. Use and modify them to suit your needs. Browse site sub menu for various examples. They should give an idea how to implement one to your programming environment.
Please keep in mind that TimeToPic can visualize log files. TimeToPic Logger receives data from remote, shows and writes logs. If you want just visualization to time line, your logging solution can write files directly if needed. This approach gives more flexibility control overhead of logging system.