PHPackages                             xyqweb/log - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. xyqweb/log

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

xyqweb/log
==========

create by wya team

0.6.9.2(4y ago)0249BSD-3-ClausePHPPHP &gt;=7.1.0

Since Mar 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/xyqweb/log)[ Packagist](https://packagist.org/packages/xyqweb/log)[ RSS](/packages/xyqweb-log/feed)WikiDiscussions master Synced today

READMEChangelog (10)DependenciesVersions (18)Used By (0)

log SDK for php
===============

[](#log-sdk-for-php)

---

[![Latest Stable Version](https://camo.githubusercontent.com/c543e7b053cde43a06e3c710856893ece7a3ce50e21b716ac12ba97476b4facf/68747470733a2f2f7061636b61676973742e6f72672f7061636b616765732f7879717765622f6c6f67)](https://packagist.org/packages/xyqweb/log)

### Run environment

[](#run-environment)

- PHP 7.1+.

### Install Log PHP SDK

[](#install-log-php-sdk)

```
composer require xyqweb/log

```

- If you use the ***composer*** to manage project dependencies, run the following command in your project's root directory:

    ```
      composer require xyqweb/log

    ```

    You can also declare the dependency on Log SDK for PHP in the `composer.json` file.

    ```
      "require": {
          "xyqweb/log": "~0.1"
      }

    ```

    Then run `composer install` to install the dependency. After the Composer Dependency Manager is installed, import the dependency in your PHP code:

    ```
      require_once __DIR__ . '/vendor/autoload.php';

    ```

Quick use
---------

[](#quick-use)

### Initialize an LogClient

[](#initialize-an-logclient)

#### Load in normal mode

[](#load-in-normal-mode)

```
