katzgrau/KLogger

Should be init with a file name prefix,not a directory

alaxcc opened this issue · 1 comments

I think it's better like this:

$log = KLogger::instance('module1','KLogger::ERROR');
$log.log();

then generate files like this:
module1-log-2014-04-14.txt

it's better the create a directory named module1.

Done - see latest readme