diff options
author | Andrew Dolgov <[email protected]> | 2018-11-30 08:34:29 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-11-30 08:34:29 +0300 |
commit | c10a43069ec1e71b6608574a81fb29c76919e132 (patch) | |
tree | 69b94003a2512b14e488b0553cf944e2bbdba2a8 /plugins/import_export/init.php | |
parent | 758752684c68efd179071cd77c92f78879e68f6d (diff) |
debug logging system rework:
* support various logging levels per-message
* remove hacks like debug_suppress, DAEMON_EXTENDED_DEBUG, etc
* _debug() is kept as a compatibility shim for plugins
Diffstat (limited to 'plugins/import_export/init.php')
-rwxr-xr-x | plugins/import_export/init.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/import_export/init.php b/plugins/import_export/init.php index a3413f307..ef1e2db65 100755 --- a/plugins/import_export/init.php +++ b/plugins/import_export/init.php @@ -24,11 +24,11 @@ class Import_Export extends Plugin implements IHandler { return; } - _debug("please enter your username:"); + Debug::log("please enter your username:"); $username = trim(read_stdin()); - _debug("importing $filename for user $username...\n"); + Debug::log("importing $filename for user $username...\n"); $sth = $this->pdo->prepare("SELECT id FROM ttrss_users WHERE login = ?"); $sth->execute($username); |