Prints or saves MicroDAQ system logs.
This function prints MicroDAQ system logs to Scilab console or writes to file if additional parameter has been provided.
filepath: path to file where logs will be saved
// print to console
// save to file