Skip to content
/ slog Public

Class for "logging" to console when using built in webserver in PHP 5.4

Notifications You must be signed in to change notification settings

iamanders/slog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Helper class for printing to console when using PHP 5.4 built in webserver

Install:

include('slog.php');

Using:

slog::get_instance()->info('This is an example!');
//Outputs in console: [Sun Jan 29 18:56:12 2012] INFO: This is an example!
slog::get_instance()->warning('This is an warning!');
slog::get_instance()->error('This is an error!');

About

Class for "logging" to console when using built in webserver in PHP 5.4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages