aboutsummaryrefslogtreecommitdiff
path: root/src/phinde/Indexer.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2016-11-10 20:52:35 +0100
committerChristian Weiske <cweiske@cweiske.de>2016-11-10 20:52:35 +0100
commit696fcd7ce4d495e356667019493bf312e2a6e47b (patch)
tree3e8d60dad08dbe31660f2532d8ce893d35d50130 /src/phinde/Indexer.php
parent9ff01ebe8cde0a07ad2a480d1a45eb1a29cb113d (diff)
downloadphinde-696fcd7ce4d495e356667019493bf312e2a6e47b.tar.gz
phinde-696fcd7ce4d495e356667019493bf312e2a6e47b.zip
add log class
Diffstat (limited to 'src/phinde/Indexer.php')
-rw-r--r--src/phinde/Indexer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/phinde/Indexer.php b/src/phinde/Indexer.php
index 2e40ba9..bdd5236 100644
--- a/src/phinde/Indexer.php
+++ b/src/phinde/Indexer.php
@@ -16,7 +16,7 @@ class Indexer
$mimetype = explode(';', $res->getHeader('content-type'))[0];
if (!in_array($mimetype, static::$supportedTypes)) {
- echo "MIME type not supported for indexing: $mimetype\n";
+ Log::info("MIME type not supported for indexing: $mimetype");
return false;
}