Availability:
     Level L    , 'E'

  Quick Help:
     Enable / Disable Logging, E[ErrLoggingOpt],[AsciiLoggingOpt],[RwStatsLoggingOpt]

  Description:
    This command enables / disables Error Logging, ASCII Logging and / or Read/Write
    Statistics Logging.  It also allows a user-created log to be selected.

    The following are the default or special log files supported by the diagnostics:
    0x0000: ACTIVE_ERROR_LOG_ID - Indicates the currently active error log.
    0x0001: ACTIVE_ASCII_LOG_ID - Indicates the currently active ASCII log.
    0x0002: ACTIVE_RW_STATISTICS_LOG_ID - Indicates the currently active R/W statistics log.
    0xFFFA: QMON_STATISTICS_LOG_ID - Indicates QMON error map log.
    0xFFFB: SYMBOL_ERROR_MAP_LOG_ID - Indicates symbol error map log.
    0xFFFC: DEFAULT_ERROR_LOG_ID - Indicates the default error log.
    0xFFFD: DEFAULT_RW_STATISTICS_LOG_ID - Indicates the default R/W statistics log.
    0xFFFE: TEMPORARY_LOG_ID - This log is used internally for copy operations.
    0xFFFF: INVALID_LOG_ID - Indicates an invalid log.

  Input Parameters:

    0 - Enable or Disable Error Logging.
    
        This parameter enables Error Logging and selects the Active Error Log or disables
        Error Logging.  If this parameter is not entered, the current Error Logging mode
        will not be changed.  If this parameter is set to 1, then Error Logging will be
        enabled and the Default Error Log will be selected as the Active Error Log.  If
        this parameter is set to 2 or greater, then Error Logging will be enabled and this
        parameter will specify the ID of the log to be selected as the Active Error Log.
        
             0 = Disable Error Logging
             1 = Enable Error Logging and select Default Error Log
             2 to 0xFFFF = Enable Error Logging and select specified log
    
          Type:    Unsigned 16-bit value
    
          Range:   0 to 0xFFFF
    
          Default: None
    
    1 - Enable or Disable ASCII Logging.
    
        This parameter enables or disables ASCII Logging.  If this parameter is not
        entered, the current ASCII Logging mode will not be changed.
    
             0 = Disable ASCII Logging
             1 = Enable ASCII Logging
    
          Type:    Unsigned 8-bit value
    
          Range:   0 or 1
    
          Default: None
    
    2 - Enable or Disable Read / Write Statistics Logging.
    
        This parameter enables or disables Read / Write Statistics Logging.  If this
        parameter is not entered, the current Read / Write Statistics Logging mode will
        not be changed.
    
             0 = Disable Read / Write Statistics Logging
             1 = Enable Read / Write Statistics Logging
             2 = Zero Read / Write Statistics Log
    
          Type:    Unsigned 8-bit value
    
          Range:   0 to 2
    
          Default: None
    
  Output Data:

    If an error occurred, the following information will be displayed.
    
          "DiagError aaaaaaaa"
    
       where
    
          aaaaaaaa is the Diagnostic Error Code
    
  Revision History:

    0001.0000   Initial revision.
    0011.0000   Combined the PSG Diagnostic Error Codes (PSGDEC) and the Diagnostic External
                Test Service Error Codes (DETSEC) into a single set of Diagnostic Error Codes
                (DiagError).
    0011.0001   Added support for selecting a user-created error log.