Think the best of others github.com/maximilianou simpledoers.eth CodersRank Indeed
function logger($msg){ if(!isset($GLOBALS['logger'])){ $GLOBALS['logger'] = fopen("/var/www/apps/logs/dev.log","a"); } fwrite($GLOBALS['logger'],"$msg\n");}function request($id = ''){ logger("dir/file.php::request(id[".$id."])");...}
Post a Comment
No comments:
Post a Comment