Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Chefstyle fixes | Tim Smith | 2019-08-06 | 2 | -4/+2 |
| | | | | Signed-off-by: Tim Smith <tsmith@chef.io> | ||||
* | Use $stdout instead of STDOUT for the default logdev. | Ryan Davis | 2019-06-06 | 1 | -3/+10 |
| | | | | | | | | | | | | This makes it testable using minitest/rspec IO assertions/expectations. STDOUT/STDERR should only be used to restore $stdout/$stderr if something goes haywire. The globals should be used for everyday use. Also bolstered an IO test to prevent the output from going to the rspec result output. Signed-off-by: Ryan Davis <zenspider@chef.io> | ||||
* | Minor spec cleanup, using the block form of expect. | Ryan Davis | 2019-06-05 | 1 | -4/+4 |
| | | | | Signed-off-by: Ryan Davis <zenspider@chef.io> | ||||
* | remove hashrocket syntax | Lamont Granquist | 2018-06-26 | 1 | -12/+12 |
| | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
* | fix labelling (#37) | Thom May | 2018-04-12 | 1 | -0/+10 |
| | | | Signed-off-by: Thom May <thom@chef.io> | ||||
* | Add appveyor config (#36) | Thom May | 2018-04-11 | 1 | -11/+13 |
| | | | | | | Add appveyor config Signed-off-by: Thom May <thom@may.lt> | ||||
* | enable metadata to be got and set | Thom May | 2018-02-28 | 1 | -0/+6 |
| | | | | Signed-off-by: Thom May <thom@chef.io> | ||||
* | Logging method return nil | Olle Jonsson | 2018-02-28 | 1 | -0/+13 |
| | | | | | | - Fixes #21 Signed-off-by: Olle Jonsson <olle.jonsson@gmail.com> | ||||
* | add trace level | Thom May | 2018-02-22 | 1 | -13/+15 |
| | | | | Signed-off-by: Thom May <thom@chef.io> | ||||
* | add metadata to log messages | Thom May | 2018-02-15 | 3 | -2/+65 |
| | | | | Signed-off-by: Thom May <thom@chef.io> | ||||
* | Add child loggers | Thom May | 2018-01-17 | 2 | -1/+61 |
| | | | | | | | | Child loggers mean that we can create new instances of a logger for subsystems or specific classes, but still only have a single set of outputs. Signed-off-by: Thom May <thom@chef.io> | ||||
* | RSpec: use 3.7, disable monkey patching mode | Olle Jonsson | 2017-11-21 | 3 | -2/+6 |
| | | | | Signed-off-by: Olle Jonsson <olle.jonsson@gmail.com> | ||||
* | Less contrained versions and fix copyrightruby22 | Tim Smith | 2016-10-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Tim Smith <tsmith@chef.io> | ||||
* | Allow applications to query if they've got loggers | Thom May | 2016-08-12 | 1 | -0/+5 |
| | | | | | | This is required to avoid the problems in #17 Signed-off-by: Thom May <thom@may.lt> | ||||
* | fix chefstyle | Thom May | 2016-08-03 | 1 | -2/+2 |
| | | | | Signed-off-by: Thom May <thom@may.lt> | ||||
* | make travis-ci happy | Max Horbul | 2016-03-18 | 1 | -4/+4 |
| | |||||
* | clean up warnings related to the old rspec syntax | Max Horbul | 2016-03-18 | 1 | -2/+2 |
| | |||||
* | File log devices opened by mixlib-log should be closed. | Max Horbul | 2016-03-18 | 1 | -0/+32 |
| | | | | | | | Ruby does not have a destructor concept so the opened files should be closed explicitely. The ruby logger which is used as a default logger here does not close logdevices it opened until #close method is called. When #rest! happens the logger instance gets destroyed but the #close method is not triggered. This patch should help to solve the problem described here: https://github.com/chef/chef/issues/3435 | ||||
* | Update to rspec 3.X formatcleanup | Tim Smith | 2016-03-01 | 2 | -26/+24 |
| | | | | It's possible the specs need more cleanup. I only focuses on deprecation messages. | ||||
* | Resolve chef style issues | Tim Smith | 2016-03-01 | 3 | -19/+18 |
| | |||||
* | Opscode -> Chef | Tim Smith | 2016-03-01 | 3 | -8/+8 |
| | |||||
* | Ensure that arguments to Mixlib::Log#add are passed as is to all loggers | Ketan Padegaonkar | 2012-12-15 | 1 | -0/+9 |
| | |||||
* | update spec tests for CHEF-2161 | Bryan McLellan | 2012-06-08 | 1 | -2/+2 |
| | |||||
* | Add example for default base log level. | Björn Albers | 2012-06-01 | 1 | -0/+7 |
| | |||||
* | require explicit rspec for testing | Bryan McLellan | 2011-10-01 | 1 | -0/+1 |
| | |||||
* | Add support for initializing Mixlib::Log with a logger | Daniel DeLeo | 2011-03-17 | 1 | -4/+36 |
| | |||||
* | add multiple logger support | Daniel DeLeo | 2011-03-15 | 1 | -10/+10 |
| | |||||
* | upgrade to rspec 2 | Daniel DeLeo | 2011-03-04 | 2 | -5/+2 |
| | |||||
* | [CHEF-1382] allow the logger to be reinitialized | Daniel DeLeo | 2010-10-13 | 1 | -5/+24 |
| | |||||
* | making log level changes backward compatible | Christopher Brown | 2009-12-14 | 2 | -4/+43 |
|\ | |||||
| * | make log level changes backward compatible | Christopher Brown | 2009-12-14 | 2 | -4/+43 |
| | | |||||
* | | fix log level setting | Christopher Brown | 2009-12-11 | 1 | -3/+3 |
|/ | |||||
* | Add spec opts | AJ Christensen | 2009-05-15 | 1 | -0/+4 |
| | |||||
* | Convert to jeweler | AJ Christensen | 2009-05-12 | 2 | -4/+8 |
| | |||||
* | Initial commit | Adam Jacob | 2009-03-11 | 3 | -0/+124 |