Download the PHP package linwanfeng/think-seaslog without Composer

On this page you can find all versions of the php package linwanfeng/think-seaslog. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package think-seaslog

think-seaslog

ThinkPHP 5.0 SeasLog 日志扩展

安装

composer require linwanfeng/think-seaslog

配置

日志配置文件的type参数设置为 seaslog

目前仅支持的配置参数

参数 描述
path 基础目录
logger 设置logger名称
json 是否使用JSON格式

由于目前seaslog不支持动态配置,因此其它配置请在php.ini 中配置。

注意:如果开启JSON格式记录,请务必设置default_template参数 仅记录日志内容

 seaslog.default_template = "%M"

关于SeasLog的更多使用参考php手册中的SeasLog章节


All versions of think-seaslog with dependencies

PHP Build Version
Package Version
Requires topthink/think-installer Version ~2.0
topthink/framework Version ^5.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package linwanfeng/think-seaslog contains the following files

Loading the files please wait ....