*
* Generated from xml/schema/CRM/Core/SystemLog.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:edcf9c070365c92afa56f7f3fe79acee)
+ * (GenCodeChecksum:a2276bcf3bb39a3947bf54b043fa0a05)
*/
/**
*
* @var string
*/
- static $_tableName = 'civicrm_system_log';
+ public static $_tableName = 'civicrm_system_log';
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
* @var bool
*/
- static $_log = FALSE;
+ public static $_log = FALSE;
/**
* Primary key ID
*
- * @var int unsigned
+ * @var int
*/
public $id;
/**
* Optional Contact ID that created the log. Not an FK as we keep this regardless
*
- * @var int unsigned
+ * @var int
*/
public $contact_id;
'title' => ts('System Log ID'),
'description' => ts('Primary key ID'),
'required' => TRUE,
+ 'where' => 'civicrm_system_log.id',
'table_name' => 'civicrm_system_log',
'entity' => 'SystemLog',
'bao' => 'CRM_Core_DAO_SystemLog',
'required' => TRUE,
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_system_log.message',
'table_name' => 'civicrm_system_log',
'entity' => 'SystemLog',
'bao' => 'CRM_Core_DAO_SystemLog',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Detailed Log Data'),
'description' => ts('JSON encoded data'),
+ 'where' => 'civicrm_system_log.context',
'table_name' => 'civicrm_system_log',
'entity' => 'SystemLog',
'bao' => 'CRM_Core_DAO_SystemLog',
'description' => ts('error level per PSR3'),
'maxlength' => 9,
'size' => CRM_Utils_Type::TWELVE,
+ 'where' => 'civicrm_system_log.level',
'default' => 'info',
'table_name' => 'civicrm_system_log',
'entity' => 'SystemLog',
'type' => CRM_Utils_Type::T_TIMESTAMP,
'title' => ts('Log Timestamp'),
'description' => ts('Timestamp of when event occurred.'),
+ 'where' => 'civicrm_system_log.timestamp',
'default' => 'CURRENT_TIMESTAMP',
'table_name' => 'civicrm_system_log',
'entity' => 'SystemLog',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Log Contact ID'),
'description' => ts('Optional Contact ID that created the log. Not an FK as we keep this regardless'),
+ 'where' => 'civicrm_system_log.contact_id',
'table_name' => 'civicrm_system_log',
'entity' => 'SystemLog',
'bao' => 'CRM_Core_DAO_SystemLog',
'description' => ts('Optional Name of logging host'),
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_system_log.hostname',
'table_name' => 'civicrm_system_log',
'entity' => 'SystemLog',
'bao' => 'CRM_Core_DAO_SystemLog',