Linux webm002.cluster126.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
/
home
/
a
/
r
/
i
/
ariannadhf
/
www
/
wp-content
/
plugins
/
simple-history
/
loggers
/
/home/a/r/i/ariannadhf/www/wp-content/plugins/simple-history/loggers/class-simple-logger.php
<?php namespace Simple_History\Loggers; /** * Simple logger to log things without message key + fallback logger. */ class Simple_Logger extends Logger { /** * Unique slug for this logger * Will be saved in DB and used to associate each log row with its logger. * * @var string */ public $slug = 'SimpleLogger'; /** * Get array with information about this logger. * * @return array */ public function get_info() { return array( // Shown on the info-tab in settings, use these fields to tell // an admin what your logger is used for. 'name' => 'SimpleLogger', 'description' => __( 'The built in logger for Simple History', 'simple-history' ), // Capability required to view log entries from this logger. 'capability' => 'edit_pages', 'messages' => array( // No pre-defined variants // when adding messages __() or _x() must be used. ), ); } }