fuel / core

Fuel PHP Framework - The core of the Fuel v1 framework
http://fuelphp.com
813 stars 345 forks source link

Can't use Log::write() as documented #1096

Closed kenjis closed 12 years ago

kenjis commented 12 years ago

Documentation says:

// and finally, we create a log entry with a custom $level
Log::write('Link', 'More info on http://fuelphp.com/')

But it does not work.

The first param is int and must be set in $loglabels.

The documentation is right or wrong? I hope the function as decumented.

kenjis commented 12 years ago

I sent Pull Request: https://github.com/fuel/core/pull/1097

WanWizard commented 12 years ago

Pull request merged.