Skip to content

Releases: carlosafonso/logga

v3.0.0

23 Nov 12:18
Compare
Choose a tag to compare

This version changes the root namespace from CarlosAfonso\Logga to Logga\Logga and introduces an initial implementation of MailStream.

v2.2.0

27 Apr 10:45
Compare
Choose a tag to compare

This version introduces the initial implementation of HttpStream and fixes #1. Some notes regarding HttpStream:

  • Only the POST method is available.
  • Parameter names are hardcoded to msg, level and time (a Unix timestamp).

Future versions of Logga will allow customizing the above.

v2.1.0

26 Apr 09:03
Compare
Choose a tag to compare

This version brings some changes to the available log levels in order to adhere to the PSR-3 standard by PHP-FIG (http://www.php-fig.org/psr/psr-3/):

  • Added new levels NOTICE, CRITICAL, ALERT and EMERGENCY (and their appropriate functions).
  • Deprecated level FATAL. Logga::fatal() is still available but will log messages using the EMERGENCY level and will also trigger a E_USER_DEPRECATED error.

v2.0.0

13 Apr 18:20
Compare
Choose a tag to compare

This version now allows installation via Composer (carlosafonso/logga) and has been refactored to follow the PSR-4 standard for autoloading. In addition, it has the following features and improvements:

  • Added a new stream (StandardOutputStream) which outputs all log traces into the standard output. When creating a new instance of Logga this stream will be used alongside a FileStream by default, so all logging will be saved into a file and sent to the screen (or wherever the standard output is being redirected to).
  • Removed unused code from the initial version.
  • DefaultFormatter now transforms all objects an arrays into their JSON representations.

v1.0.0

15 Feb 16:56
Compare
Choose a tag to compare

This version lays the foundations for supporting multiple log streams and formatters. Changes in this version also include:

  • Added a standard stream (FileStream) which logs to a single file. This stream has the default behaviour of version 0.1.0 but can optionally remove the date from the file name.
  • Added a standard formatter (DefaultFormatter) which is currently hardcoded and cannot be replaced. This formatter formats log messages so that they look exactly the same as they did in version 0.1.0.
  • Added a minimum log level setting which is independent for each stream, so that traces with a level below this minimum will not be logged.
  • Added the ability to enable and disable a log stream at any time. Disabled streams don't log anything, disregarding its minimum level.

Initial release

15 Feb 12:08
Compare
Choose a tag to compare

This is the first release of Logga. It allows to write log traces into a file using 5 different categories (DEBUG, INFO, WARNING, ERROR, FATAL).