ErsSetLogRoutine - Change the Ers log routine.

Function

Change the Ers log routine.

Description

Allows us to change the routine used to log ERS messages.

Language

C

Call

(void) = ErsSetLogRoutine (logRoutine, logArg, oldLogRoutine, oldLogArg, status)

Parameters

(">" input, "!" modified, "W" workspace, "<" output)

>logRoutineErsLogRoutineTypeIf non zero, this routine will be called to log any messages reported by ErsRep.
>logArgvoid *Passed directly to logRoutine as its first argument and not examined by Ers.
>oldLogRoutineErsLogRoutineType *The previous log routine is returned here - if non-zero, the new routine should call this routine after it has done its job.
>oldLogArgvoid *Should be passed as the first argument to the old log routine.
!statusStatusType *Modified status.

Include files

Ers.h

External functions used

none

External values used

none

Prior requirements

none

Support

Tony Farrell, AAO

Click here for the DRAMA home page and here for the AAO home page.

 For more information, contact tjf@aao.gov.au