EnableLog Turn file logging on and off Params yesNo - TRUE to enable FALSE to disable Disable is default Return 0 - (UH_SUCCESS) 1 - (UH_ERROR) ***********************************/
| 976 | 1 - (UH_ERROR) |
| 977 | ***********************************/ |
| 978 | int CUH_Control::EnableLog(BOOLEAN yesNo){ |
| 979 | |
| 980 | if(yesNo){ |
| 981 | m_enableLog = TRUE; |
| 982 | OpenLog(); |
| 983 | } |
| 984 | else{ |
| 985 | m_enableLog = FALSE; |
| 986 | CloseLog(); |
| 987 | } |
| 988 | |
| 989 | return UH_SUCCESS; |
| 990 | } |
| 991 | |
| 992 | /********************************** |
| 993 | IsLogEnabled |
nothing calls this directly
no outgoing calls
no test coverage detected