nitricware/nwlog

Logging functions for any PHP script.

1.0.3 2020-07-20 12:28 UTC

This package is auto-updated.

Last update: 2025-04-20 22:24:41 UTC


README

Disclaimer: This package is a legacy package for nitricware/nwfileoperations and nitricware/nwdatabase (before version 2.0)

Introduction

NWLog is a set of functions that allows you to easily log status in your script.

License

The NWLog system is distributed under the MIT License which allows you to use it privately and commercially, to distribute, modify and sublicense it. You may not hold me liable and must include my name in the credits of your work.

NWLog was created by Kurt Höblinger as NitricWare.

Usage

Use Composer to install NWLog to your project via the composer require nitricware/nwlog command or in your composer.json. Alternatively you can also just include the NWLog.php-file.

require "./path/to/NWLog.php“;
use NitricWare\NWWriteLog;
use NitricWare\NWDeleteLog;
use NitricWare\NWPrintLog;

Functions

For information about the functions, please check the documentation inside the .php-file!

With NWLog you can:

  • log status
  • read log
  • delete log

Changelog

v1.0.3

  • composer fix v1.0.2
  • added custom backtrace
  • bugfixes

v1.0.1

  • bugfixes

v1.0

  • initial release