PHP Classes

File: test/index.php

Recommend this page to a friend!
  Classes of Daniel Riera   PHP Log to File   test/index.php   Download  
File: test/index.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Log to File
Log messages to given file
Author: By
Last change:
Date: 3 years ago
Size: 246 bytes
 

Contents

Class file image Download
<?php

define
('LOG_FOLDER', "../");

include
"../src/class.log.php";


//Add Lines
LOG::add("Test Line");
LOG::add("Test User Line", 524);
LOG::add("Other User Line", 524);
LOG::add("Order Test Line", 'WEB581657816', 'order');


echo
'Completed';