# wpremote/6.76/protect/logger/fs.php

The WP Remote WordPress Plugin, version 6.76. 20 lines.

- Page: https://pluginprobe.com/plugins/wpremote/6.76/code/protect/logger/fs.php
- Raw: https://pluginprobe.com/plugins/wpremote/6.76/raw/protect/logger/fs.php
- Modified: 2026-09-17T11:43:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wpremote/6.76/code/protect/logger/fs.php#L10-L20`.

```php
<?php
if (!defined('ABSPATH') && !defined('MCDATAPATH')) exit;

if (!class_exists('WPRProtectLoggerFS_V676')) :
class WPRProtectLoggerFS_V676 {
	public $logFile;

	function __construct($filename) {
		$this->logFile = $filename;
	}

	public function log($data) {
		$_data = serialize($data);
		$str = "bvlogbvlogbvlog" . ":";
		$str .= strlen($_data) . ":" . $_data;
		// phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log -- logging required
		error_log($str, 3, $this->logFile);
	}
}
endif;
```
