1 KiB
1 KiB
LogLib
A logging library for PHP/ncc, this was quickly thrown together to provide a simple logging interface and to test out NCC's capabilities for PHP.
Table of Contents
Installation
The library can be installed using ncc:
ncc install -p "nosial/libs.log=latest@n64"
or by adding the following to your project.json file under
the build.dependencies
section:
{
"name": "net.nosial.loglib",
"version": "latest",
"source_type": "remote",
"source": "nosial/libs.log=latest@n64"
}
If you don't have the n64 source configured you can add it by running the following command:
ncc source add --name n64 --type gitlab --host git.n64.cc
Compiling from source
The library can be compiled from source using ncc:
ncc build --config release
or by running the following command:
make release