2017 © Pedro Peláez
 

library think-slog

useful debug tool base on socket log

image

cheukpang/think-slog

useful debug tool base on socket log

  • Monday, January 9, 2017
  • by xcorp
  • Repository
  • 1 Watchers
  • 1 Stars
  • 47 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

think-slog

Build Status, (*1)

useful debug tool base on socket log , (*2)

REQUIREMENT

  • nodejs LTS is recommend
  • chrome extension(file 'chrome.crx' in resource folder)
  • additional port 1229 and port 1116 is required,please check your firewall and add it in whitelist

INSTALL

  • installation is very simply via composer
    composer install cheukpang/think-slog --save

HOWTO

install socketlog-server and run it, (*3)

npm install -g socketlog-server

Run socketlog-server in windows CMD or Linux Shell, (*4)

socketlog-server

debug like follow in php where you want, (*5)

<?php
    //$some_code_here;
    slog('log whatever you want');
    //...
then open chrome dev-tool,you should see debug output in console tab ^_^

Reference

License

Apache-2.0, (*6)

The Versions

09/01 2017

dev-master

9999999-dev

useful debug tool base on socket log

  Sources   Download

Apache-2.0

The Requires

  • php >=5.5.9

 

The Development Requires

by kwan

thinkphp socketlog debug tool