In the continuation of sharing the dev libraries that I use for my C projects, here is a small lib that lets one log text output from a C project. You can find it on AmendHub.
It lets you log to the console (through printf()) or to a file. If the file is stored on a network volume from a Linux (or other modern) machine using the great Netatalk 4, you can use the 'tail -f ' command to see your logs in real time. This can be extremely useful to debug some code or to spot some errors or warnings that may occur during runtime.
I shared a picture of my development setup using this Logger lib along with a Linux laptop.
It lets you log to the console (through printf()) or to a file. If the file is stored on a network volume from a Linux (or other modern) machine using the great Netatalk 4, you can use the 'tail -f ' command to see your logs in real time. This can be extremely useful to debug some code or to spot some errors or warnings that may occur during runtime.
I shared a picture of my development setup using this Logger lib along with a Linux laptop.
Attachments
Last edited: