MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / EnableLog

Method EnableLog

UTCP/src/uh_ctrl.cpp:978–990  ·  view source on GitHub ↗

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) ***********************************/

Source from the content-addressed store, hash-verified

976 1 - (UH_ERROR)
977***********************************/
978int 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/**********************************
993IsLogEnabled

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected