Welcome to mirror list, hosted at ThFree Co, Russian Federation.

TDebug.php « lib « server - github.com/nextcloud/lookup-server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 789e5f8accbbe69667d7025f87ad3df2a1b5d651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

namespace LookupServer;


trait TDebug {

	public function debug(string $line) {
		// this is ugly, but at least we have some debug somewhere
		@file_put_contents(__DIR__ . '/../../debug.log', $line . "\n", FILE_APPEND);
	}

}