aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/clean_logger.rb
Commit message (Collapse)AuthorAgeFilesLines
* Ruby 1.9 compat, consistent load pathsJeremy Kemper2007-10-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActiveSupport::BufferedLogger as a duck-typing alternative (albeit ↵David Heinemeier Hansson2007-09-251-0/+2
| | | | | | with no formatter) to the Ruby Logger, which provides a very nice speed bump (inspired by Ezra's buffered logger) [DHH] Changed the default logger from Ruby's own Logger with the clean_logger extensions to ActiveSupport::BufferedLogger for performance reasons [DHH]. (You can change it back with config.logger = Logger.new(/path/to/log, level).) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7626 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added call to inspect on non-string classes for the logger (closes #8533) ↵David Heinemeier Hansson2007-09-221-1/+1
| | | | | | [codahale] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure clean_logger fixes are 1.8.2 compatible [mislav] Closes #8396Michael Koziarski2007-06-221-1/+48
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7083 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow users to provide custom formatters to Logger. [aeden] Closes #7106, #2484Michael Koziarski2007-02-251-4/+44
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added reusable reloading support through the inclusion of the Relodable ↵David Heinemeier Hansson2006-01-291-1/+1
| | | | | | module that all subclasses of ActiveRecord::Base, ActiveRecord::Observer, ActiveController::Base, and ActionMailer::Base automatically gets [DHH]. Added auto-loading support for classes in modules, so Conductor::Migration will look for conductor/migration.rb and Conductor::Database::Settings will look for conductor/database/settings.rb [Nicholas Seckar]. Refactored extensions to module, class, and object in active support [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3218@asus: jeremy | 2005-11-20 03:06:32 -0800Jeremy Kemper2005-11-211-0/+2
| | | | | | | alias old format_message before overriding it git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3689@sedna: jeremy | 2005-10-16 10:24:36 -0700Jeremy Kemper2005-10-231-4/+14
| | | | | | | | | | | | | | | Ticket 2404 - delete fixtures after using them r3744@sedna: jeremy | 2005-10-23 12:28:28 -0700 track dirty and loaded fixtures more carefully r3745@sedna: jeremy | 2005-10-23 12:29:39 -0700 fix broken tests r3756@sedna: jeremy | 2005-10-23 15:51:00 -0700 Global Logger.silencer switch for Logger#silence. r3757@sedna: jeremy | 2005-10-23 15:51:35 -0700 Correct changelogs git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3574@sedna: jeremy | 2005-10-13 11:16:51 -0700Jeremy Kemper2005-10-131-5/+8
| | | | | | | More precise Logger version test to account for distributions that don't keep Ruby and its stdlib in sync. Logger#silence yields self for convenience. Logger unit tests. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ticket 2263 - Make clean logger compatible with both 1.8.2 and 1.8.3Jeremy Kemper2005-09-271-3/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2369 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed clean logger to work with Ruby 1.8.3 Logger class #2245David Heinemeier Hansson2005-09-211-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2286 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved the silence method on the logger to ensure restoring the old level ↵David Heinemeier Hansson2005-05-021-6/+4
| | | | | | #1240 [bitsweat git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1277 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added silencing to the default Logger classDavid Heinemeier Hansson2005-05-021-0/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1271 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved Active Support into its own gemDavid Heinemeier Hansson2005-02-151-0/+10
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de