Refactor write functions to use a flag instead of function pointers

Issue #15 resolved
Sean Kauffman repo owner created an issue

There are a couple of functions that take a function pointer as an argument so the code can be reused between the logging and output functions. We want to avoid non-constant function pointers, so refactor this to just pass a flag to a print function depending on which output they should use. This paradigm should be used in all the output functions that might be reused.

Comments (3)

  1. Sean Kauffman reporter
    • changed status to open

    I started working on this. It is not a difficult task but I haven't had time to finish it.

  2. Log in to comment