Commit Graph

43 Commits

Author SHA1 Message Date
Alexander Makarov
847e224d6f Fixed #14612: Added note about session's logVars [skip ci] 2018-01-21 22:47:44 +03:00
Roman Ishchenko
b354b26d03 Fixes #15081: Fixed "Undefined offset: 1" in log Target 2017-11-03 21:51:49 +03:00
Carsten Brandt
2745a16245 fix phpdoc in log\Target 2017-11-03 01:11:09 +01:00
Alexander Makarov
2d672b6722 release version 2.0.13 2017-11-03 01:09:29 +03:00
Alexander Makarov
fb23b0d0ea Code style fixes 2017-11-01 02:43:02 +03:00
Carsten Brandt
93bbf5b39d Fixes #15015: Added StringHelper::floatToString() to savely cast float values independent of the locale, also fixes some places in the framework that use it now 2017-10-27 11:41:45 +03:00
Pavel Chaplygin
d49ec7b8be Fixes #14633: Add miliseconds to log time in \yii\log\Target 2017-10-18 17:53:10 +03:00
Carsten Brandt
9d854c0f25 improved docs for #14273 2017-09-06 09:32:50 +02:00
Dmitry Dorogin
9b01ca275f Fixes #14273: yii\log\Target::$enabled now supports callable value (#14539)
* Fixes #14273: yii\log\Target:: now supports callable value

* added empty line in changelog [skip ci]

* getter and setter

* Update Target.php
2017-09-01 23:49:53 +02:00
Robert Korulczyk
1501c659ac Add empty lines before return statements. (#14682) [skip ci] 2017-08-21 01:58:49 +03:00
Robert Korulczyk
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
Boudewijn Vahrmeijer
32f4dc8997 Fixes #5385: links created from classes to corresponding guide articles (#12920) 2016-11-04 18:55:14 +03:00
Dmitriy Makarov
2d9b659777 Fixes #12296: Added value validation to yii\log\Target::setLevels() 2016-08-25 20:47:03 +03:00
Carsten Brandt
217d50e4ff improved PHPdoc and @since annotations 2016-07-11 12:58:43 +02:00
Alexander Makarov
4fd4ac04b1 Minor adjustments for #11462 2016-07-03 02:05:13 +03:00
Viktor Pikaev
30bb9bd7c8 Fixes #11462: Added support of filtering rules to yii\log\Target::$logVar, added \yii\helpers\BaseArrayHelper::filter() method 2016-07-03 01:56:05 +03:00
zuozp8
95a7631e4f fixes #11333 avoid serializing php7 errors (#11335)
fixes #11333
2016-04-13 05:52:48 +02:00
Alexander Makarov
1f7134634b Use static:: instead of $this for static method calls 2016-02-16 14:06:23 +03:00
SilverFire - Dmitry Naumenko
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
Sebastian Chojniak
6ee285f321 unused imports removed 2015-07-09 22:20:11 +02:00
Alexander Mohorev
0c5e4b7105 PSR-2 foreach statement 2015-06-08 23:21:21 +03:00
Carsten Brandt
dd1995551c convert exceptions to string before saving log messages
fixes #7305
2015-05-15 18:49:38 +02:00
Alexander Makarov
6481d13494 Optimized checks order in conditions 2015-02-08 17:56:36 +03:00
Tobias Munk
b33824044f added check for undefined application to log Target
allows using logger without a Yii application now.

close #6739
2015-01-07 23:15:38 +01:00
Qiang Xue
f1812210a8 Fixes #5768: When setting data-confirm attribute to a submit button, clicking on the button would not trigger form submission 2014-11-07 10:29:04 -05:00
Qiang Xue
8923d20a3f Fixes #5619: yii\log\Target should not attempt to start session when there is none 2014-11-07 09:53:45 -05:00
Qiang Xue
be2828d593 Fixes #5484: Fixed potential string suffix detection failure on 5.5.11 2014-10-11 09:35:55 -04:00
Alexander Makarov
1c414caace Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare 2014-07-30 02:15:08 +04:00
Carsten Brandt
31a56b59b0 Avoid endless loop when exporting logs
fixes #4470
2014-07-27 22:11:57 +02:00
Carsten Brandt
c0a15ded02 added trace level to log message formatting
fixes #4123
2014-07-02 18:46:07 +02:00
Alexander Makarov
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
Carsten Brandt
886def8571 removed unused argument 2014-06-09 15:51:50 +02:00
Carsten Brandt
efbd23b52e refactored logger to support array values out of the box.
fixes #3245, #3244
2014-06-09 14:58:36 +02:00
Alexander Makarov
4e5079abd8 Fix #3327: "Unable to find debug data" when logging objects with circular references 2014-05-04 20:02:06 +04:00
Qiang Xue
3616d1f0d1 Fixes #2816: Changed default date and time format of yii\base\Formatter to Y-m-d and H:i:s 2014-04-05 18:15:06 -04:00
Carsten Brandt
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
Qiang Xue
b393ea0d81 Fixes #2851. 2014-03-22 12:31:24 -04:00
Qiang Xue
d79febfd04 removed space in log prefixes [skip ci] 2014-03-21 23:09:19 -04:00
Qiang Xue
72c99663ff Refactored container. 2014-03-18 11:49:52 -04:00
Qiang Xue
8c2e39235f Turn module and application into DI containers. 2014-03-17 23:57:01 -04:00
Qiang Xue
c6a946ec79 Fixes #497: Removed \yii\log\Target::logUser and added \yii\log\Target::prefix to support customizing message prefix 2014-03-16 21:04:40 -04:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Qiang Xue
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00