Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 591 Bytes

README.md

File metadata and controls

42 lines (27 loc) · 591 Bytes

slog-php

Slog Library in php

Installation

composer require lifanko/slog

Usage

Send a real time log.

<?php

use lifanko\Slog;

Slog::log('Hello World');

Slog::log(12345.6789);

Slog::log([1, 2, 3, 4, 5, '67890']);

Slog::log([
    'name' => 'slog',
    'function' => 'send real time log',
    'author' => [
        'name' => 'lifanko',
        'repository' => 'https://github.com/lifankohome/slog-php'
    ]
]);

Slog Client

Slog Tool: https://github.com/lifankohome/slog-tool

Slog Server

Slog Server: https://github.com/lifankohome/slog-server