2017 © Pedro Peláez
 

library themosis-logger

Monolog for Themosis

image

keltiecochrane/themosis-logger

Monolog for Themosis

  • Thursday, April 20, 2017
  • by keltiecochrane
  • Repository
  • 1 Watchers
  • 1 Stars
  • 172 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 1 % Grown

The README.md

Themosis Logger

A package for the Themosis framework that provides access to Monolog. Similar to the Laravel setup, provides support for log files, Loogly, and Slack. Also loads in some Laravel helper functions associated with logging. This plugin requires keltiecochrane/themosis-illuminate's ConfigServiceProvider to be setup., (*1)

Install

Install through composer: - composer require keltiecochrane/themosis-logger, (*2)

Copy the logger.config.php file to your theme/resources/config folder, and configure as appropriate., (*3)

Register the service provider in your theme/resources/config/providers.php file: - KeltieCochrane\Logger\LogServiceProvider::class,, (*4)

Optionally register the alias in your theme/resources/config/theme.php file: - 'Log' => KeltieCochrane\Logger\LogFacade::class,, (*5)

Examples

  Log::error('An error occurred', ['code' => 1, 'message' => 'Oops.']);

See the Monolog docs for more info., (*6)

Helpers

The following (additional) helpers are available: -, (*7)

  • info
  • logger

See the Laravel docs for more info., (*8)

Support

This package is provided as is, though we'll endeavour to help where we can. By using this plugin you forfeit your right to any warranty or costs associated with it's use., (*9)

Contributing

Any contributions would be encouraged and much appreciated, you can contribute by: -, (*10)

  • Reporting bugs
  • Suggesting features
  • Sending pull requests

The Versions

20/04 2017
20/04 2017
08/03 2017

0.1.0

0.1.0.0

A logger for themosis.

  Sources   Download

The Requires

 

plugin themosis

08/03 2017

dev-release/0.1.0

dev-release/0.1.0

A logger for themosis.

  Sources   Download

The Requires

 

plugin themosis

07/03 2017

0.0.1

0.0.1.0

A logger for themosis.

  Sources   Download

The Requires

 

plugin themosis

07/03 2017

dev-release/0.0.1

dev-release/0.0.1

A logger for themosis.

  Sources   Download

The Requires

 

plugin themosis