dateFormat = 'Y-m-d H:i:s'; } /** * {@inheritdoc} */ protected function write( $message ) { if ( defined( 'WP_DEBUG_LOG' ) && WP_DEBUG_LOG ) { error_log( '[Appointments+] ' . $message ); } } }