/* Information outputted to the user sometimes has  or  appended at the end. This function obtains this trailer based on the value of the parameter.  */
static char const  * GetLineTrailerByResult(bool errorDetected)
/* Information outputted to the user sometimes has  or  appended at the end. This function obtains this trailer based on the value of the parameter.  */
static char const  * GetLineTrailerByResult(bool errorDetected)
{
  char const * result;
  static char const * trailerStrOk = "[" OUTPUT_GREEN "OK" OUTPUT_RESET "]";
  static char const * trailerStrError = "[" OUTPUT_RED "ERROR" OUTPUT_RESET "]";  
  if (!errorDetected)
  {
    result = trailerStrOk;
  }
  else
  {
    result = trailerStrError;
  }
  return result;
}