Added macros to set the file pointers used in logging. This allows the debug pointer to be set without wrapping such an assignment in "#ifndef NDEBUG" guards.