<?php /** * Simple class for logs * @description: Example use */ // include class require_once 'Logger.class.php'; // write in log file $obLog = new Logger('log.log'); $obLog->LogIt('Start script3',true,"\n","r+",true); $obLog->LogIt('Start script2',true,"\n","a+",true); $obLog->LogIt('Start script1',true,"\n","a+",true); ?>