Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Log::write with custom $level don't work like docs.
  • In your docs I will find:
    // Finally, create a log entry with a custom $level
    Log::write('Link','More info on http://fuelphp.com/);
    result: Link - 2011 01 03 18 44 45 - More info on http://fuelphp.com/ 
    In your code (class log) you are changing all custom levels to 250 (Notice)
    with this you shout get:
    Notice - 2011 01 03 18 44 45 - More info on http://fuelphp.com
  • Sorry is my first time here: How to format these text???
  • I believe that functionality was lost when we switched to Monolog, which doesn't support custom labels as far as I know.

    So unfortunately, the docs need adjusting on that point.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion