PHP Classes

File: logit.php

Recommend this page to a friend!
  Classes of Hillary Kollan  >  PHP Log Writer  >  logit.php  >  Download  
File: logit.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Log Writer
Write log messages to files in CSV or JSON formats
Author: By
Last change:
Date: 1 year ago
Size: 343 bytes


Class file image Download
$log = (new LaravelLog);
//set path

//set filename

//log arrays, objects, integers or strings in either .log, .json and .csv file formats by setting the extension in the second argument
$log->logData((object) $_SERVER, 'json');

For more information send a message to info at phpclasses dot org.