Download the PHP package wxxiong6/wxxlogger without Composer

On this page you can find all versions of the php package wxxiong6/wxxlogger. 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 wxxlogger

Build Status GitHub forks Packagist Packagist

php 日志类

默认日志文件名是application.log 支持按天生成日志文件,每个日志文件内容可自定义大小。

特点:

轻量、日志分级、高效、日志内容丰富。 日志会缓存在内存中,当日志行数或日志buffer数超过定义的数时写入日志文件。 未超过时,会在程序运行结束后写入日志文件。

安装

初始化配置

traceLevel

显示堆栈层数。参数为0时,日志信息少,但日志内容简洁。

prefix

日志回调函数,可通过些函数显示日志自定义标识

levels

定入日志级别,未定义的级别不会写入日志中

自定义模板参数

常用方法:

debug

info

error

changelog:

v1.0.0 第一版发布
v2.0.0 增加是否切割日志、是否显示毫秒
       修改日志写入文件方法,合并日志后,调用一次日志
       修改时间函数,默认加关闭毫秒
       修改traceLevel=0时间,category默认时间文件名及行号
v2.0.1 增加日志模板自定义功能
       增加日志级别
v3.0.0 重构项目

All versions of wxxlogger with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
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 wxxiong6/wxxlogger contains the following files

Loading the files please wait ....