vic/drivers/shared_all/src/vic_log.c
void
finalize_logging(void)
{
    extern FILE *LOG_DEST;

    if (!(LOG_DEST == stdout || LOG_DEST == stderr)) {
        fclose(LOG_DEST);
        LOG_DEST = stderr;
    }
}
/******************************************************************************
 * @brief    Finalize logging - called after all logging is completed
 *****************************************************************************/
@brief    Finalize logging - called after all logging is completed
@brief Finalize logging - called after all logging is completed
void
finalize_logging(void)
{
    extern FILE *LOG_DEST;
    if (!(LOG_DEST == stdout || LOG_DEST == stderr)) {
        fclose(LOG_DEST);
        LOG_DEST = stderr;
    }
}
void finalize_logging ( void ) { extern FILE * LOG_DEST ; if ( ! ( LOG_DEST == stdout || LOG_DEST == stderr ) ) { fclose ( LOG_DEST ) ; LOG_DEST = stderr ; } }
@brief    Finalize logging - called after all logging is completed
@brief Finalize logging - called after all logging is completed