fictioneer/includes/functions/settings/_settings_page_logs.php
2024-09-02 02:25:58 +02:00

46 lines
1.1 KiB
PHP

<?php
/**
* Partial: Logs Settings
*
* @package WordPress
* @subpackage Fictioneer
* @since 5.0.0
*/
?>
<div class="fictioneer-settings">
<?php fictioneer_settings_header( 'logs' ); ?>
<div class="fictioneer-settings__content">
<div class="fictioneer-single-column">
<div class="fictioneer-card">
<div class="fictioneer-card__wrapper">
<h3 class="fictioneer-card__header"><?php _e( 'Fictioneer Log', 'fictioneer' ); ?></h3>
<div class="fictioneer-card__content">
<div class="fictioneer-card__row">
<?php echo fictioneer_get_log(); ?>
</div>
</div>
</div>
</div>
<div class="fictioneer-card">
<div class="fictioneer-card__wrapper">
<h3 class="fictioneer-card__header"><?php _e( 'WP Debug Log', 'fictioneer' ); ?></h3>
<div class="fictioneer-card__content">
<div class="fictioneer-card__row">
<?php echo fictioneer_get_wp_debug_log(); ?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>