riess 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/examples/Getting_started_example.rb +17 -0
- data/lib/actions.rb +53 -0
- data/lib/checks.rb +39 -0
- data/lib/exceptions.rb +12 -0
- data/lib/finders.rb +129 -0
- data/lib/helpers.rb +115 -0
- data/lib/html_action_modules.rb +88 -0
- data/lib/html_check_modules.rb +161 -0
- data/lib/html_object_factory.rb +33 -0
- data/lib/html_objects.rb +57 -0
- data/lib/ieparser_extension.rb +416 -0
- data/lib/key_codes.rb +123 -0
- data/lib/popup.rb +57 -0
- data/lib/riess.rb +111 -0
- data/lib/test_reporter.rb +113 -0
- data/riess_stable_testing_release_1-0.0.8.gemspec +22 -0
- data/vendor/log4r-1.0.5/doc/contact.html +166 -0
- data/vendor/log4r-1.0.5/doc/contribute.html +165 -0
- data/vendor/log4r-1.0.5/doc/images/crush/logo2.png +0 -0
- data/vendor/log4r-1.0.5/doc/images/log4r-logo.png +0 -0
- data/vendor/log4r-1.0.5/doc/images/logo2.png +0 -0
- data/vendor/log4r-1.0.5/doc/index.html +228 -0
- data/vendor/log4r-1.0.5/doc/license.html +200 -0
- data/vendor/log4r-1.0.5/doc/log4r.css +111 -0
- data/vendor/log4r-1.0.5/doc/manual.html +593 -0
- data/vendor/log4r-1.0.5/doc/rdoc/blank.html +2 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r.html +105 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/BasicFormatter.html +133 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/BasicFormatter.src/M000073.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/BasicFormatter.src/M000074.html +22 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/BasicFormatter.src/M000075.html +25 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/ConfigError.html +60 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Configurator.html +151 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Configurator.src/M000003.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Configurator.src/M000004.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Configurator.src/M000005.html +25 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Configurator.src/M000006.html +19 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Configurator.src/M000007.html +19 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/DateFileOutputter.html +84 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/DateFileOutputter.src/M000010.html +33 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/DefaultFormatter.html +62 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/EmailOutputter.html +123 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/EmailOutputter.src/M000047.html +32 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/EmailOutputter.src/M000048.html +19 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/FileOutputter.html +99 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/FileOutputter.src/M000011.html +45 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Formatter.html +91 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Formatter.src/M000076.html +17 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Formatter.src/M000077.html +17 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/IOOutputter.html +112 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/IOOutputter.src/M000049.html +19 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/IOOutputter.src/M000050.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/IOOutputter.src/M000051.html +21 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Log4rTools.html +116 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Log4rTools.src/M000032.html +21 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Log4rTools.src/M000033.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Log4rTools.src/M000034.html +24 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Log4rTools.src/M000035.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/LogEvent.html +132 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/LogEvent.src/M000001.html +19 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/LogServer.html +103 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/LogServer.src/M000044.html +22 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/LogServer.src/M000045.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.html +341 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000052.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000053.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000054.html +20 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000055.html +22 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000056.html +20 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000057.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000058.html +20 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000059.html +30 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000060.html +22 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000061.html +21 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000062.html +24 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000063.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000064.html +19 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000065.html +29 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000066.html +22 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000067.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000068.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/ObjectFormatter.html +85 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/ObjectFormatter.src/M000009.html +21 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.html +229 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000015.html +25 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000016.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000017.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000018.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000019.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000020.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000021.html +23 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000022.html +21 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000023.html +26 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000024.html +29 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000025.html +17 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/PatternFormatter.html +120 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/PatternFormatter.src/M000046.html +23 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RemoteOutputter.html +104 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RemoteOutputter.src/M000012.html +22 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RemoteOutputter.src/M000013.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RemoteOutputter.src/M000014.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RollingFileOutputter.html +111 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RollingFileOutputter.src/M000069.html +45 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RootLogger.html +173 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RootLogger.src/M000036.html +23 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RootLogger.src/M000037.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RootLogger.src/M000038.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RootLogger.src/M000039.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RootLogger.src/M000040.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RootLogger.src/M000041.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RootLogger.src/M000042.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RootLogger.src/M000043.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/SimpleFormatter.html +83 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/SimpleFormatter.src/M000026.html +19 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/StderrOutputter.html +76 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/StderrOutputter.src/M000002.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/StdoutOutputter.html +76 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/StdoutOutputter.src/M000008.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/SyslogOutputter.html +111 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/SyslogOutputter.src/M000070.html +22 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/SyslogOutputter.src/M000071.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/SyslogOutputter.src/M000072.html +21 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/YamlConfigurator.html +128 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/YamlConfigurator.src/M000027.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/YamlConfigurator.src/M000028.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/YamlConfigurator.src/M000029.html +25 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/YamlConfigurator.src/M000030.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/YamlConfigurator.src/M000031.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/created.rid +1 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r/configurator_rb.html +402 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r/formatter/formatter_rb.html +152 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r/formatter/patternformatter_rb.html +266 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r/logger_rb.html +320 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r/logserver_rb.html +191 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r/outputter/datefileoutputter_rb.html +120 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r/outputter/emailoutputter_rb.html +205 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r/outputter/outputter_rb.html +254 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r/outputter/syslogoutputter_rb.html +135 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r/yamlconfigurator_rb.html +120 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r_rb.html +228 -0
- data/vendor/log4r-1.0.5/doc/rdoc/fr_class_index.html +59 -0
- data/vendor/log4r-1.0.5/doc/rdoc/fr_file_index.html +45 -0
- data/vendor/log4r-1.0.5/doc/rdoc/fr_method_index.html +111 -0
- data/vendor/log4r-1.0.5/doc/rdoc/index.html +26 -0
- data/vendor/log4r-1.0.5/doc/rdoc/rdoc-style.css +79 -0
- data/vendor/log4r-1.0.5/examples/README +19 -0
- data/vendor/log4r-1.0.5/examples/customlevels.rb +34 -0
- data/vendor/log4r-1.0.5/examples/fileroll.rb +40 -0
- data/vendor/log4r-1.0.5/examples/log4r_yaml.yaml +0 -0
- data/vendor/log4r-1.0.5/examples/logclient.rb +25 -0
- data/vendor/log4r-1.0.5/examples/logserver.rb +18 -0
- data/vendor/log4r-1.0.5/examples/moderate.xml +29 -0
- data/vendor/log4r-1.0.5/examples/moderateconfig.rb +66 -0
- data/vendor/log4r-1.0.5/examples/myformatter.rb +23 -0
- data/vendor/log4r-1.0.5/examples/outofthebox.rb +21 -0
- data/vendor/log4r-1.0.5/examples/rrconfig.xml +63 -0
- data/vendor/log4r-1.0.5/examples/rrsetup.rb +42 -0
- data/vendor/log4r-1.0.5/examples/simpleconfig.rb +39 -0
- data/vendor/log4r-1.0.5/examples/xmlconfig.rb +25 -0
- data/vendor/log4r-1.0.5/examples/yaml.rb +30 -0
- data/vendor/log4r-1.0.5/src/log4r.rb +20 -0
- data/vendor/log4r-1.0.5/src/log4r/base.rb +74 -0
- data/vendor/log4r-1.0.5/src/log4r/config.rb +9 -0
- data/vendor/log4r-1.0.5/src/log4r/configurator.rb +224 -0
- data/vendor/log4r-1.0.5/src/log4r/formatter/formatter.rb +105 -0
- data/vendor/log4r-1.0.5/src/log4r/formatter/patternformatter.rb +108 -0
- data/vendor/log4r-1.0.5/src/log4r/lib/drbloader.rb +52 -0
- data/vendor/log4r-1.0.5/src/log4r/lib/xmlloader.rb +24 -0
- data/vendor/log4r-1.0.5/src/log4r/logevent.rb +28 -0
- data/vendor/log4r-1.0.5/src/log4r/logger.rb +194 -0
- data/vendor/log4r-1.0.5/src/log4r/loggerfactory.rb +89 -0
- data/vendor/log4r-1.0.5/src/log4r/logserver.rb +28 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/consoleoutputters.rb +18 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/datefileoutputter.rb +110 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/emailoutputter.rb +115 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/fileoutputter.rb +49 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/iooutputter.rb +55 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/outputter.rb +132 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/outputterfactory.rb +59 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/remoteoutputter.rb +40 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/rollingfileoutputter.rb +126 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/staticoutputter.rb +30 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/syslogoutputter.rb +75 -0
- data/vendor/log4r-1.0.5/src/log4r/rdoc/configurator +243 -0
- data/vendor/log4r-1.0.5/src/log4r/rdoc/emailoutputter +103 -0
- data/vendor/log4r-1.0.5/src/log4r/rdoc/formatter +39 -0
- data/vendor/log4r-1.0.5/src/log4r/rdoc/log4r +89 -0
- data/vendor/log4r-1.0.5/src/log4r/rdoc/logger +175 -0
- data/vendor/log4r-1.0.5/src/log4r/rdoc/logserver +85 -0
- data/vendor/log4r-1.0.5/src/log4r/rdoc/outputter +108 -0
- data/vendor/log4r-1.0.5/src/log4r/rdoc/patternformatter +128 -0
- data/vendor/log4r-1.0.5/src/log4r/rdoc/syslogoutputter +29 -0
- data/vendor/log4r-1.0.5/src/log4r/rdoc/yamlconfigurator +20 -0
- data/vendor/log4r-1.0.5/src/log4r/repository.rb +65 -0
- data/vendor/log4r-1.0.5/src/log4r/staticlogger.rb +49 -0
- data/vendor/log4r-1.0.5/src/log4r/yamlconfigurator.rb +0 -0
- data/vendor/log4r-1.0.5/tests/include.rb +7 -0
- data/vendor/log4r-1.0.5/tests/runtest.rb +6 -0
- data/vendor/log4r-1.0.5/tests/testbase.rb +45 -0
- data/vendor/log4r-1.0.5/tests/testcustom.rb +33 -0
- data/vendor/log4r-1.0.5/tests/testdefault.rb +25 -0
- data/vendor/log4r-1.0.5/tests/testformatter.rb +29 -0
- data/vendor/log4r-1.0.5/tests/testlogger.rb +198 -0
- data/vendor/log4r-1.0.5/tests/testoutputter.rb +112 -0
- data/vendor/log4r-1.0.5/tests/testpatternformatter.rb +26 -0
- data/vendor/log4r-1.0.5/tests/testxmlconf.rb +51 -0
- data/vendor/log4r-1.0.5/tests/xml/testconf.xml +37 -0
- data/vendor/rspec-0.8.2/CHANGES +575 -0
- data/vendor/rspec-0.8.2/EXAMPLES.rd +81 -0
- data/vendor/rspec-0.8.2/MIT-LICENSE +20 -0
- data/vendor/rspec-0.8.2/README +57 -0
- data/vendor/rspec-0.8.2/RELEASE-PLAN +117 -0
- data/vendor/rspec-0.8.2/Rakefile +223 -0
- data/vendor/rspec-0.8.2/bin/spec +4 -0
- data/vendor/rspec-0.8.2/examples/auto_spec_name_generation_example.rb +18 -0
- data/vendor/rspec-0.8.2/examples/custom_expectation_matchers.rb +53 -0
- data/vendor/rspec-0.8.2/examples/custom_formatter.rb +11 -0
- data/vendor/rspec-0.8.2/examples/dynamic_spec.rb +9 -0
- data/vendor/rspec-0.8.2/examples/file_accessor.rb +18 -0
- data/vendor/rspec-0.8.2/examples/file_accessor_spec.rb +38 -0
- data/vendor/rspec-0.8.2/examples/greeter_spec.rb +30 -0
- data/vendor/rspec-0.8.2/examples/helper_method_example.rb +11 -0
- data/vendor/rspec-0.8.2/examples/io_processor.rb +8 -0
- data/vendor/rspec-0.8.2/examples/io_processor_spec.rb +21 -0
- data/vendor/rspec-0.8.2/examples/mocking_example.rb +27 -0
- data/vendor/rspec-0.8.2/examples/partial_mock_example.rb +28 -0
- data/vendor/rspec-0.8.2/examples/predicate_example.rb +27 -0
- data/vendor/rspec-0.8.2/examples/setup_teardown_example.rb +34 -0
- data/vendor/rspec-0.8.2/examples/spec_helper.rb +1 -0
- data/vendor/rspec-0.8.2/examples/stack.rb +36 -0
- data/vendor/rspec-0.8.2/examples/stack_spec.rb +113 -0
- data/vendor/rspec-0.8.2/examples/stubbing_example.rb +69 -0
- data/vendor/rspec-0.8.2/examples/test_case_spec.rb +63 -0
- data/vendor/rspec-0.8.2/lib/spec.rb +11 -0
- data/vendor/rspec-0.8.2/lib/spec/callback.rb +11 -0
- data/vendor/rspec-0.8.2/lib/spec/callback/callback_container.rb +60 -0
- data/vendor/rspec-0.8.2/lib/spec/callback/extensions/module.rb +24 -0
- data/vendor/rspec-0.8.2/lib/spec/callback/extensions/object.rb +37 -0
- data/vendor/rspec-0.8.2/lib/spec/deprecated.rb +3 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations.rb +59 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/differs/default.rb +62 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/errors.rb +6 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/extensions.rb +3 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/extensions/object.rb +109 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/extensions/proc.rb +57 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/extensions/string_and_symbol.rb +17 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/handler.rb +47 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/should.rb +5 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/should/base.rb +64 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/should/change.rb +69 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/should/have.rb +128 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/should/not.rb +74 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/should/should.rb +81 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/sugar.rb +47 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers.rb +160 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/be.rb +161 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/be_close.rb +37 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/change.rb +120 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/eql.rb +43 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/equal.rb +43 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/has.rb +44 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/have.rb +140 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/include.rb +50 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/match.rb +41 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/raise_error.rb +100 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/respond_to.rb +35 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/satisfy.rb +47 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/throw_symbol.rb +75 -0
- data/vendor/rspec-0.8.2/lib/spec/mocks.rb +232 -0
- data/vendor/rspec-0.8.2/lib/spec/mocks/argument_expectation.rb +132 -0
- data/vendor/rspec-0.8.2/lib/spec/mocks/error_generator.rb +85 -0
- data/vendor/rspec-0.8.2/lib/spec/mocks/errors.rb +10 -0
- data/vendor/rspec-0.8.2/lib/spec/mocks/extensions/object.rb +3 -0
- data/vendor/rspec-0.8.2/lib/spec/mocks/message_expectation.rb +231 -0
- data/vendor/rspec-0.8.2/lib/spec/mocks/methods.rb +40 -0
- data/vendor/rspec-0.8.2/lib/spec/mocks/mock.rb +26 -0
- data/vendor/rspec-0.8.2/lib/spec/mocks/mock_handler.rb +166 -0
- data/vendor/rspec-0.8.2/lib/spec/mocks/order_group.rb +29 -0
- data/vendor/rspec-0.8.2/lib/spec/rake/spectask.rb +173 -0
- data/vendor/rspec-0.8.2/lib/spec/rake/verify_rcov.rb +47 -0
- data/vendor/rspec-0.8.2/lib/spec/runner.rb +132 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/backtrace_tweaker.rb +55 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/command_line.rb +34 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/context.rb +154 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/context_eval.rb +142 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/context_runner.rb +55 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/drb_command_line.rb +21 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/execution_context.rb +17 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/extensions/kernel.rb +17 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/extensions/object.rb +32 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/formatter.rb +5 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/formatter/base_text_formatter.rb +118 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/formatter/html_formatter.rb +219 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/formatter/progress_bar_formatter.rb +27 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/formatter/rdoc_formatter.rb +22 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/formatter/specdoc_formatter.rb +23 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/heckle_runner.rb +71 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/heckle_runner_win.rb +10 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/option_parser.rb +224 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/reporter.rb +105 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/spec_matcher.rb +25 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/spec_parser.rb +41 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/spec_should_raise_handler.rb +74 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/specification.rb +114 -0
- data/vendor/rspec-0.8.2/lib/spec/translator.rb +87 -0
- data/vendor/rspec-0.8.2/lib/spec/version.rb +30 -0
- data/vendor/rspec-0.8.2/spec/spec/callback/callback_container_spec.rb +27 -0
- data/vendor/rspec-0.8.2/spec/spec/callback/module_spec.rb +37 -0
- data/vendor/rspec-0.8.2/spec/spec/callback/object_spec.rb +90 -0
- data/vendor/rspec-0.8.2/spec/spec/callback/object_with_class_callback_spec.rb +19 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/differs/default_spec.rb +107 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/extensions/object_spec.rb +46 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/fail_with_spec.rb +71 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_==_spec.rb +19 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_=~_spec.rb +13 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_be_a_kind_of_spec.rb +21 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_be_an_instance_of_spec.rb +30 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_be_arbitrary_predicate_spec.rb +81 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_be_close_spec.rb +18 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_be_comparison_operator_spec.rb +44 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_be_false_spec.rb +39 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_be_spec.rb +11 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_be_true_spec.rb +27 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_change_spec.rb +184 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_eql_spec.rb +11 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_equal_spec.rb +11 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_have_at_least_spec.rb +53 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_have_at_most_spec.rb +45 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_have_key_spec.rb +21 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_have_spec.rb +64 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_include_spec.rb +59 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_match_spec.rb +25 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_==_spec.rb +15 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_be_a_kind_of_spec.rb +21 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_be_an_instance_of_spec.rb +11 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_be_arbitrary_predicate_spec.rb +68 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_be_spec.rb +11 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_change_spec.rb +24 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_eql_spec.rb +11 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_equal_spec.rb +11 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_have_key_spec.rb +15 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_include_spec.rb +58 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_match_spec.rb +11 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_raise_spec.rb +75 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_respond_to_spec.rb +15 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_throw_spec.rb +35 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_raise_spec.rb +66 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_respond_to_spec.rb +15 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_satisfy_spec.rb +35 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_throw_spec.rb +27 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/be_close_spec.rb +33 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/be_spec.rb +182 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/change_spec.rb +232 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/description_generation_spec.rb +147 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/eql_spec.rb +41 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/equal_spec.rb +41 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/handler_spec.rb +75 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/has_spec.rb +37 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/have_spec.rb +259 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/include_spec.rb +33 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/match_spec.rb +37 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/matcher_methods_spec.rb +85 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/raise_error_spec.rb +147 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/respond_to_spec.rb +30 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/satisfy_spec.rb +36 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/throw_symbol_spec.rb +59 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/any_number_of_times_spec.rb +34 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/argument_expectation_spec.rb +19 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/at_least_spec.rb +97 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/at_most_spec.rb +97 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/bug_report_7611_spec.rb +19 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/bug_report_7805_spec.rb +22 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/bug_report_8165_spec.rb +31 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/bug_report_8302_spec.rb +26 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/failing_mock_argument_constraints_spec.rb +74 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/mock_ordering_spec.rb +80 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/mock_spec.rb +407 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/multiple_return_value_spec.rb +113 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/null_object_mock_spec.rb +40 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/once_counts_spec.rb +56 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/options_hash_spec.rb +31 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/partial_mock_spec.rb +52 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/partial_mock_using_mocks_directly_spec.rb +64 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/passing_mock_argument_constraints_spec.rb +92 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/precise_counts_spec.rb +56 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/record_messages_spec.rb +26 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/stub_spec.rb +159 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/twice_counts_spec.rb +67 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/command_line_spec.rb +32 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/context_matching_spec.rb +28 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/context_runner_spec.rb +100 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/context_spec.rb +405 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/drb_command_line_spec.rb +74 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/execution_context_spec.rb +52 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/formatter/html_formatter_spec.rb +40 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/formatter/progress_bar_formatter_dry_run_spec.rb +21 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/formatter/progress_bar_formatter_failure_dump_spec.rb +36 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/formatter/progress_bar_formatter_spec.rb +78 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/formatter/rdoc_formatter_dry_run_spec.rb +18 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/formatter/rdoc_formatter_spec.rb +41 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/formatter/specdoc_formatter_dry_run_spec.rb +21 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/formatter/specdoc_formatter_spec.rb +46 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/heckle_runner_spec.rb +63 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/heckler_spec.rb +14 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/kernel_ext_spec.rb +16 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/noisy_backtrace_tweaker_spec.rb +45 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/object_ext_spec.rb +11 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/option_parser_spec.rb +269 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/quiet_backtrace_tweaker_spec.rb +47 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/reporter_spec.rb +126 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/spec_matcher_spec.rb +107 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/spec_name_generation_spec.rb +102 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/spec_parser_spec.rb +37 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/specification_class_spec.rb +72 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/specification_instance_spec.rb +160 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/specification_should_raise_spec.rb +136 -0
- data/vendor/rspec-0.8.2/spec/spec/spec_classes.rb +102 -0
- data/vendor/rspec-0.8.2/spec/spec/translator_spec.rb +79 -0
- data/vendor/rspec-0.8.2/spec/spec_helper.rb +35 -0
- metadata +537 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
|
2
|
+
<html>
|
3
|
+
<head><title>new (Log4r::SyslogOutputter)</title>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
5
|
+
<style>
|
6
|
+
.kw { color: #3333FF; font-weight: bold }
|
7
|
+
.cmt { color: green; font-style: italic }
|
8
|
+
.str { color: #662222; font-style: italic }
|
9
|
+
.re { color: #662222; }
|
10
|
+
</style>
|
11
|
+
</head>
|
12
|
+
<body bgcolor="white">
|
13
|
+
<pre><span class="cmt"># File log4r/outputter/syslogoutputter.rb, line 40</span>
|
14
|
+
<span class="kw">def</span> initialize(_name, hash={})
|
15
|
+
<span class="kw">super</span>(_name, hash)
|
16
|
+
ident = (hash[:ident] <span class="kw">or</span> hash[<span class="str">'ident'</span>] <span class="kw">or</span> _name)
|
17
|
+
logopt = (hash[:logopt] <span class="kw">or</span> hash[<span class="str">'logopt'</span>] <span class="kw">or</span> LOG_PID | LOG_CONS).to_i
|
18
|
+
facility = (hash[:facility] <span class="kw">or</span> hash[<span class="str">'facility'</span>] <span class="kw">or</span> LOG_USER).to_i
|
19
|
+
@syslog = Syslog.open(ident, logopt, facility)
|
20
|
+
<span class="kw">end</span></pre>
|
21
|
+
</body>
|
22
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
|
2
|
+
<html>
|
3
|
+
<head><title>closed? (Log4r::SyslogOutputter)</title>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
5
|
+
<style>
|
6
|
+
.kw { color: #3333FF; font-weight: bold }
|
7
|
+
.cmt { color: green; font-style: italic }
|
8
|
+
.str { color: #662222; font-style: italic }
|
9
|
+
.re { color: #662222; }
|
10
|
+
</style>
|
11
|
+
</head>
|
12
|
+
<body bgcolor="white">
|
13
|
+
<pre><span class="cmt"># File log4r/outputter/syslogoutputter.rb, line 48</span>
|
14
|
+
<span class="kw">def</span> closed?
|
15
|
+
<span class="kw">return</span> !@syslog.opened?
|
16
|
+
<span class="kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
|
2
|
+
<html>
|
3
|
+
<head><title>close (Log4r::SyslogOutputter)</title>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
5
|
+
<style>
|
6
|
+
.kw { color: #3333FF; font-weight: bold }
|
7
|
+
.cmt { color: green; font-style: italic }
|
8
|
+
.str { color: #662222; font-style: italic }
|
9
|
+
.re { color: #662222; }
|
10
|
+
</style>
|
11
|
+
</head>
|
12
|
+
<body bgcolor="white">
|
13
|
+
<pre><span class="cmt"># File log4r/outputter/syslogoutputter.rb, line 52</span>
|
14
|
+
<span class="kw">def</span> close
|
15
|
+
@syslog.close <span class="kw">unless</span> @syslog.nil?
|
16
|
+
@level = OFF
|
17
|
+
OutputterFactory.create_methods(<span class="kw">self</span>)
|
18
|
+
Logger.log_internal {"Outputter '#{@name}' closed Syslog and set to OFF"}
|
19
|
+
<span class="kw">end</span></pre>
|
20
|
+
</body>
|
21
|
+
</html>
|
@@ -0,0 +1,128 @@
|
|
1
|
+
|
2
|
+
<html><head>
|
3
|
+
<title>Class: Log4r::YamlConfigurator</title>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
5
|
+
<link rel=StyleSheet href="../.././rdoc-style.css" type="text/css" media=screen>
|
6
|
+
<script type="text/javascript" language="JavaScript">
|
7
|
+
<!--
|
8
|
+
function popCode(url) {
|
9
|
+
parent.frames.source.location = url
|
10
|
+
}
|
11
|
+
//-->
|
12
|
+
</script>
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white">
|
15
|
+
|
16
|
+
|
17
|
+
<table width="100%" border=0 cellspacing=0>
|
18
|
+
<tr class="title-row">
|
19
|
+
<td class="big-title-font">
|
20
|
+
<font size=-3><B>Class</B><BR></font>Log4r::YamlConfigurator
|
21
|
+
</td>
|
22
|
+
<td align="right">
|
23
|
+
<table cellspacing=0 cellpadding=2>
|
24
|
+
<tr valign="top">
|
25
|
+
<td class="small-title-font">In:</td>
|
26
|
+
<td class="small-title-font">
|
27
|
+
<a href="../../files/log4r/yamlconfigurator_rb.html">log4r/yamlconfigurator.rb</a>
|
28
|
+
</td>
|
29
|
+
</tr>
|
30
|
+
<tr>
|
31
|
+
<td class="small-title-font">Parent:</td>
|
32
|
+
<td class="small-title-font">
|
33
|
+
Object
|
34
|
+
</td>
|
35
|
+
</tr>
|
36
|
+
</table>
|
37
|
+
</td>
|
38
|
+
</tr>
|
39
|
+
</table><br>
|
40
|
+
<!-- banner header -->
|
41
|
+
|
42
|
+
|
43
|
+
<div class="description"><p>
|
44
|
+
See <a
|
45
|
+
href="../../files/log4r/yamlconfigurator_rb.html">log4r/yamlconfigurator.rb</a>
|
46
|
+
</p>
|
47
|
+
</div>
|
48
|
+
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<table cellpadding=5 width="100%">
|
52
|
+
<tr><td class="tablesubtitle">Methods</td></tr>
|
53
|
+
</table><br>
|
54
|
+
<div class="name-list">
|
55
|
+
<a href="#M000027">[]</a>,
|
56
|
+
<a href="#M000028">[]=</a>,
|
57
|
+
<a href="#M000029">custom_levels</a>,
|
58
|
+
<a href="#M000030">load_yaml_file</a>,
|
59
|
+
<a href="#M000031">load_yaml_string</a>,
|
60
|
+
</div>
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
<table cellpadding=5 width="100%">
|
67
|
+
<tr><td class="tablesubtitle">Public Class methods</td></tr>
|
68
|
+
</table>
|
69
|
+
<table width="100%" cellspacing = 0 cellpadding=5 border=0>
|
70
|
+
<tr><td class="methodtitle">
|
71
|
+
<a name="M000027">
|
72
|
+
<b>[]</b>(param)
|
73
|
+
<a href="YamlConfigurator.src/M000027.html" target="source" class="srclink">src</a>
|
74
|
+
</a></td></tr>
|
75
|
+
</table>
|
76
|
+
<div class="description">
|
77
|
+
<p>
|
78
|
+
Get a parameter’s value
|
79
|
+
</p>
|
80
|
+
</div>
|
81
|
+
<table width="100%" cellspacing = 0 cellpadding=5 border=0>
|
82
|
+
<tr><td class="methodtitle">
|
83
|
+
<a name="M000028">
|
84
|
+
<b>[]=</b>(param, value)
|
85
|
+
<a href="YamlConfigurator.src/M000028.html" target="source" class="srclink">src</a>
|
86
|
+
</a></td></tr>
|
87
|
+
</table>
|
88
|
+
<div class="description">
|
89
|
+
<p>
|
90
|
+
Define a parameter with a value
|
91
|
+
</p>
|
92
|
+
</div>
|
93
|
+
<table width="100%" cellspacing = 0 cellpadding=5 border=0>
|
94
|
+
<tr><td class="methodtitle">
|
95
|
+
<a name="M000029">
|
96
|
+
<b>custom_levels</b>( levels)
|
97
|
+
<a href="YamlConfigurator.src/M000029.html" target="source" class="srclink">src</a>
|
98
|
+
</a></td></tr>
|
99
|
+
</table>
|
100
|
+
<table width="100%" cellspacing = 0 cellpadding=5 border=0>
|
101
|
+
<tr><td class="methodtitle">
|
102
|
+
<a name="M000030">
|
103
|
+
<b>load_yaml_file</b>( filename)
|
104
|
+
<a href="YamlConfigurator.src/M000030.html" target="source" class="srclink">src</a>
|
105
|
+
</a></td></tr>
|
106
|
+
</table>
|
107
|
+
<div class="description">
|
108
|
+
<p>
|
109
|
+
Given a filename, loads the YAML configuration for <a
|
110
|
+
href="../Log4r.html">Log4r</a>.
|
111
|
+
</p>
|
112
|
+
</div>
|
113
|
+
<table width="100%" cellspacing = 0 cellpadding=5 border=0>
|
114
|
+
<tr><td class="methodtitle">
|
115
|
+
<a name="M000031">
|
116
|
+
<b>load_yaml_string</b>( string)
|
117
|
+
<a href="YamlConfigurator.src/M000031.html" target="source" class="srclink">src</a>
|
118
|
+
</a></td></tr>
|
119
|
+
</table>
|
120
|
+
<div class="description">
|
121
|
+
<p>
|
122
|
+
You can load a String YAML configuration instead of a file.
|
123
|
+
</p>
|
124
|
+
</div>
|
125
|
+
<!-- method descriptions -->
|
126
|
+
|
127
|
+
</body>
|
128
|
+
</html>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
|
2
|
+
<html>
|
3
|
+
<head><title>[] (Log4r::YamlConfigurator)</title>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
5
|
+
<style>
|
6
|
+
.kw { color: #3333FF; font-weight: bold }
|
7
|
+
.cmt { color: green; font-style: italic }
|
8
|
+
.str { color: #662222; font-style: italic }
|
9
|
+
.re { color: #662222; }
|
10
|
+
</style>
|
11
|
+
</head>
|
12
|
+
<body bgcolor="white">
|
13
|
+
<pre><span class="cmt"># File log4r/yamlconfigurator.rb, line 24</span>
|
14
|
+
<span class="kw">def</span> <span class="kw">self</span>.[](param); @@params[param] <span class="kw">end</span></pre>
|
15
|
+
</body>
|
16
|
+
</html>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
|
2
|
+
<html>
|
3
|
+
<head><title>[]= (Log4r::YamlConfigurator)</title>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
5
|
+
<style>
|
6
|
+
.kw { color: #3333FF; font-weight: bold }
|
7
|
+
.cmt { color: green; font-style: italic }
|
8
|
+
.str { color: #662222; font-style: italic }
|
9
|
+
.re { color: #662222; }
|
10
|
+
</style>
|
11
|
+
</head>
|
12
|
+
<body bgcolor="white">
|
13
|
+
<pre><span class="cmt"># File log4r/yamlconfigurator.rb, line 26</span>
|
14
|
+
<span class="kw">def</span> <span class="kw">self</span>.[]=(param, value); @@params[param] = value <span class="kw">end</span></pre>
|
15
|
+
</body>
|
16
|
+
</html>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
|
2
|
+
<html>
|
3
|
+
<head><title>custom_levels (Log4r::YamlConfigurator)</title>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
5
|
+
<style>
|
6
|
+
.kw { color: #3333FF; font-weight: bold }
|
7
|
+
.cmt { color: green; font-style: italic }
|
8
|
+
.str { color: #662222; font-style: italic }
|
9
|
+
.re { color: #662222; }
|
10
|
+
</style>
|
11
|
+
</head>
|
12
|
+
<body bgcolor="white">
|
13
|
+
<pre><span class="cmt"># File log4r/yamlconfigurator.rb, line 29</span>
|
14
|
+
<span class="kw">def</span> <span class="kw">self</span>.custom_levels( levels)
|
15
|
+
<span class="kw">return</span> Logger.root <span class="kw">if</span> levels.size == 0
|
16
|
+
<span class="kw">for</span> i <span class="kw">in</span> 0...levels.size
|
17
|
+
name = levels[i].to_s
|
18
|
+
<span class="kw">if</span> name =~ <span class="re">/\s/</span> <span class="kw">or</span> name !~ <span class="re">/^[A-Z]/</span>
|
19
|
+
raise TypeError, "#{name} is not a valid Ruby Constant name", caller
|
20
|
+
<span class="kw">end</span>
|
21
|
+
<span class="kw">end</span>
|
22
|
+
Log4r.define_levels *levels
|
23
|
+
<span class="kw">end</span></pre>
|
24
|
+
</body>
|
25
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
|
2
|
+
<html>
|
3
|
+
<head><title>load_yaml_file (Log4r::YamlConfigurator)</title>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
5
|
+
<style>
|
6
|
+
.kw { color: #3333FF; font-weight: bold }
|
7
|
+
.cmt { color: green; font-style: italic }
|
8
|
+
.str { color: #662222; font-style: italic }
|
9
|
+
.re { color: #662222; }
|
10
|
+
</style>
|
11
|
+
</head>
|
12
|
+
<body bgcolor="white">
|
13
|
+
<pre><span class="cmt"># File log4r/yamlconfigurator.rb, line 41</span>
|
14
|
+
<span class="kw">def</span> <span class="kw">self</span>.load_yaml_file( filename)
|
15
|
+
actual_load( File.open( filename))
|
16
|
+
<span class="kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
|
2
|
+
<html>
|
3
|
+
<head><title>load_yaml_string (Log4r::YamlConfigurator)</title>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
5
|
+
<style>
|
6
|
+
.kw { color: #3333FF; font-weight: bold }
|
7
|
+
.cmt { color: green; font-style: italic }
|
8
|
+
.str { color: #662222; font-style: italic }
|
9
|
+
.re { color: #662222; }
|
10
|
+
</style>
|
11
|
+
</head>
|
12
|
+
<body bgcolor="white">
|
13
|
+
<pre><span class="cmt"># File log4r/yamlconfigurator.rb, line 46</span>
|
14
|
+
<span class="kw">def</span> <span class="kw">self</span>.load_yaml_string( string)
|
15
|
+
actual_load( string)
|
16
|
+
<span class="kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1 @@
|
|
1
|
+
Wed Mar 17 14:14:43 PST 2004
|
@@ -0,0 +1,402 @@
|
|
1
|
+
|
2
|
+
<html><head>
|
3
|
+
<title>File: configurator.rb</title>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
5
|
+
<link rel=StyleSheet href="../.././rdoc-style.css" type="text/css" media=screen>
|
6
|
+
<script type="text/javascript" language="JavaScript">
|
7
|
+
<!--
|
8
|
+
function popCode(url) {
|
9
|
+
parent.frames.source.location = url
|
10
|
+
}
|
11
|
+
//-->
|
12
|
+
</script>
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white">
|
15
|
+
|
16
|
+
<table width="100%">
|
17
|
+
<tr class="title-row">
|
18
|
+
<td><table width="100%"><tr>
|
19
|
+
<td class="big-title-font" colspan=2><font size=-3><B>File</B><BR></font>configurator.rb</td>
|
20
|
+
<td align="right"><table cellspacing=0 cellpadding=2>
|
21
|
+
<tr>
|
22
|
+
<td class="small-title-font">Path:</td>
|
23
|
+
<td class="small-title-font">log4r/configurator.rb</td>
|
24
|
+
</tr>
|
25
|
+
<tr>
|
26
|
+
<td class="small-title-font">Modified:</td>
|
27
|
+
<td class="small-title-font">Wed Mar 17 11:13:07 PST 2004</td>
|
28
|
+
</tr>
|
29
|
+
</table>
|
30
|
+
</td></tr></table></td>
|
31
|
+
</tr>
|
32
|
+
</table><br>
|
33
|
+
<!-- banner header -->
|
34
|
+
|
35
|
+
|
36
|
+
<div class="description"><h1>Configuring <a href="../../classes/Log4r.html">Log4r</a> with <a href="../../classes/Log4r/Configurator.html">Log4r::Configurator</a></h1>
|
37
|
+
<p>
|
38
|
+
The Configurator class allows one to set up <a
|
39
|
+
href="../../classes/Log4r.html">Log4r</a> via XML. Additionally,
|
40
|
+
Configurator contains methods to configure any <a
|
41
|
+
href="../../classes/Log4r.html">Log4r</a> defaults. In particular,
|
42
|
+
Configurator provides a method to customize the logging levels.
|
43
|
+
</p>
|
44
|
+
<p>
|
45
|
+
<a href="../../classes/Log4r.html">Log4r</a> is also configurable using
|
46
|
+
YAML. For that, there is a class similar to Configurator called <a
|
47
|
+
href="../../classes/Log4r/YamlConfigurator.html">Log4r::YamlConfigurator</a>.
|
48
|
+
Please see <a href="yamlconfigurator_rb.html">log4r/yamlconfigurator.rb</a>
|
49
|
+
for details.
|
50
|
+
</p>
|
51
|
+
<p>
|
52
|
+
REXML is required for XML configuration. Get REXML at <a
|
53
|
+
href="http://www.ruby-lang.org/en/raa-list.rhtml?name=REXML">www.ruby-lang.org/en/raa-list.rhtml?name=REXML</a>
|
54
|
+
</p>
|
55
|
+
<p>
|
56
|
+
To use the Configurator class,
|
57
|
+
</p>
|
58
|
+
<pre>
|
59
|
+
require 'log4r/configurator'
|
60
|
+
</pre>
|
61
|
+
<h2>Custom Levels</h2>
|
62
|
+
<p>
|
63
|
+
Suppose you want the following levels and ranks:
|
64
|
+
</p>
|
65
|
+
<pre>
|
66
|
+
Foo < Bar < Baz
|
67
|
+
</pre>
|
68
|
+
<p>
|
69
|
+
This is easily accomplished:
|
70
|
+
</p>
|
71
|
+
<pre>
|
72
|
+
Configurator.custom_levels('Foo', 'Bar', :Baz)
|
73
|
+
</pre>
|
74
|
+
<p>
|
75
|
+
The method accepts strings or symbols. However, custom levels must have
|
76
|
+
names that are valid for Ruby constants. Also, custom levels should be set
|
77
|
+
before anything else is done with <a
|
78
|
+
href="../../classes/Log4r.html">Log4r</a>, otherwise the default levels
|
79
|
+
will be loaded.
|
80
|
+
</p>
|
81
|
+
<p>
|
82
|
+
You can set custom levels in XML. That’s covered in the following
|
83
|
+
section.
|
84
|
+
</p>
|
85
|
+
<h2>XML Configuration</h2>
|
86
|
+
<p>
|
87
|
+
If you have REXML, you can configure <a
|
88
|
+
href="../../classes/Log4r.html">Log4r</a> with XML. To do this, first write
|
89
|
+
an XML configuration (which you can learn by studying this document and the
|
90
|
+
examples provided in the distribution) and then load up the XML from within
|
91
|
+
your program as follows:
|
92
|
+
</p>
|
93
|
+
<pre>
|
94
|
+
Configurator.load_xml_file('/path/to/file.xml')
|
95
|
+
</pre>
|
96
|
+
<p>
|
97
|
+
The <a href="../../classes/Log4r.html">Log4r</a> XML configuration system
|
98
|
+
is very flexible and powerful. In fact, it is somewhat preferable to
|
99
|
+
configuring <a href="../../classes/Log4r.html">Log4r</a> in Ruby. In order
|
100
|
+
to take full advantage of this feature, there are several concepts one must
|
101
|
+
know. They are covered in the following three sections.
|
102
|
+
</p>
|
103
|
+
<h3>Concept: XML Directives</h3>
|
104
|
+
<p>
|
105
|
+
The expressive power of Ruby has enabled a feature I call <em>XML
|
106
|
+
directives</em>. An XML directive is a name-value pair belonging to some
|
107
|
+
element. It may be represented as an attribute (name="value") of
|
108
|
+
the element, or as a child (<name>value</name>) of the element.
|
109
|
+
Therefore, you are free to specify information about an object as either an
|
110
|
+
attribute or an element. An example should clarify:
|
111
|
+
</p>
|
112
|
+
<pre>
|
113
|
+
<object data="value"/>
|
114
|
+
</pre>
|
115
|
+
<p>
|
116
|
+
Is equivalent to:
|
117
|
+
</p>
|
118
|
+
<pre>
|
119
|
+
<object>
|
120
|
+
<data>value</data>
|
121
|
+
</object>
|
122
|
+
</pre>
|
123
|
+
<p>
|
124
|
+
You can assume this behavior except where noted elsewhere in the API.
|
125
|
+
</p>
|
126
|
+
<h3>Concept: XML Parameters</h3>
|
127
|
+
<p>
|
128
|
+
A scheme which I call <em>XML parameters</em> enables one to utilize the
|
129
|
+
XML configuratin system for custom Outputters and Formatters. This requires
|
130
|
+
<b>no</b> extra work on your part, so long as your objects are set up using
|
131
|
+
hash arguments and can decode string values. That is, once you’ve
|
132
|
+
written a custom Outputter, it is automatically configurable in XML without
|
133
|
+
having to write any extra code.
|
134
|
+
</p>
|
135
|
+
<p>
|
136
|
+
An XML parameter is analogous to a hash argument to some object’s
|
137
|
+
<tt>new</tt> method. Consider these hash arguments to FileOutputter:
|
138
|
+
</p>
|
139
|
+
<pre>
|
140
|
+
:filename => '/path/to/logs/my.log'
|
141
|
+
:trunc => 'true'
|
142
|
+
</pre>
|
143
|
+
<p>
|
144
|
+
We can specify them in XML like this:
|
145
|
+
</p>
|
146
|
+
<pre>
|
147
|
+
<outputter type="FileOutputter" trunc="true">
|
148
|
+
<filename>/path/to/logs/my.log</filename>
|
149
|
+
...
|
150
|
+
</pre>
|
151
|
+
<p>
|
152
|
+
The name of the element/attribute is just the name of the parameter. Note
|
153
|
+
that the input will be a string, thus it’s wise to convert the data
|
154
|
+
in from strings in any custom classes (to_i for integers, etc). Now
|
155
|
+
let’s suppose you have defined a custom Outputter named MyOutputter
|
156
|
+
with the following additional hash args:
|
157
|
+
</p>
|
158
|
+
<pre>
|
159
|
+
:myarg1 => 'foo'
|
160
|
+
:myarg2 => 123
|
161
|
+
</pre>
|
162
|
+
<p>
|
163
|
+
Automagically, you can configure your Outputter like so:
|
164
|
+
</p>
|
165
|
+
<pre>
|
166
|
+
<outputter type="MyOutputter" myarg2="123">
|
167
|
+
<myarg1>foo</myarg1>
|
168
|
+
...
|
169
|
+
</pre>
|
170
|
+
<p>
|
171
|
+
Isn‘t that nice? <tt>:-)</tt>
|
172
|
+
</p>
|
173
|
+
<h3>Concept: Variable Substitution</h3>
|
174
|
+
<p>
|
175
|
+
To kill the need for preprocessors, Configurator provides a means of
|
176
|
+
variable substitution for XML parameters at runtime. If you specify
|
177
|
+
<tt>#{foo}</tt> in an XML parameter value, Configurator will replace it
|
178
|
+
with the value of ‘foo’ in its parameter hashtable. The primary
|
179
|
+
idea is that you can figure stuff out in your program, say the log path,
|
180
|
+
and relay that information to the XML while it’s being loaded.
|
181
|
+
Secondarily, it is a way to have aliases within an XML document.
|
182
|
+
</p>
|
183
|
+
<p>
|
184
|
+
There are two ways to tell Configurator about these variables. The first
|
185
|
+
method we’ll cover is done within a Ruby program with Configurator[].
|
186
|
+
</p>
|
187
|
+
<pre>
|
188
|
+
Configurator['logpath'] = '/path/to/logs'
|
189
|
+
</pre>
|
190
|
+
<p>
|
191
|
+
Thereafter, any occurence of <tt>#{logpath}</tt> in each and every XML
|
192
|
+
parameter will be substituted with ’/path/to/logs’. For
|
193
|
+
example:
|
194
|
+
</p>
|
195
|
+
<pre>
|
196
|
+
<filename>#{logpath}/mylog.log</filename>
|
197
|
+
</pre>
|
198
|
+
<p>
|
199
|
+
Becomes,
|
200
|
+
</p>
|
201
|
+
<pre>
|
202
|
+
<filename>/path/to/logs/mylog.log</filename>
|
203
|
+
</pre>
|
204
|
+
<p>
|
205
|
+
Aside from Configurator[], another way to define XML parameter variables is
|
206
|
+
to define <tt>parameters</tt> under the <tt><pre_config></tt> element
|
207
|
+
of an XML configuration:
|
208
|
+
</p>
|
209
|
+
<pre>
|
210
|
+
<pre_config>
|
211
|
+
<parameter name="logpath" value="/path/to/logs'/>
|
212
|
+
<parameter name="other" value="somethingelse'/>
|
213
|
+
...
|
214
|
+
</pre_config>
|
215
|
+
</pre>
|
216
|
+
<p>
|
217
|
+
Alternatively,
|
218
|
+
</p>
|
219
|
+
<pre>
|
220
|
+
<pre_config>
|
221
|
+
<parameters>
|
222
|
+
<logpath>/path/to/logs</logpath>
|
223
|
+
<other>somethingelse</other>
|
224
|
+
...
|
225
|
+
</parameters>
|
226
|
+
...
|
227
|
+
</pre>
|
228
|
+
<p>
|
229
|
+
The end result is the same as using Configurator[]. However, this method is
|
230
|
+
not dynamic. Configurator[] should be used when you want to set variables
|
231
|
+
from within Ruby.
|
232
|
+
</p>
|
233
|
+
<h1>XML Grammar</h1>
|
234
|
+
<p>
|
235
|
+
And now, here’s the XML grammar we use to configure <a
|
236
|
+
href="../../classes/Log4r.html">Log4r</a>.
|
237
|
+
</p>
|
238
|
+
<h2>Root Element</h2>
|
239
|
+
<p>
|
240
|
+
The root element is <tt><log4r_config></tt>. It can be embedded as a
|
241
|
+
node of any other element in an XML file. For instance:
|
242
|
+
</p>
|
243
|
+
<pre>
|
244
|
+
<my-xml-thing>
|
245
|
+
<customize-libraries>
|
246
|
+
<log4r_config>
|
247
|
+
<!-- log4r configuratin goes here -->
|
248
|
+
</log4r_config>
|
249
|
+
...
|
250
|
+
</pre>
|
251
|
+
<h2>Pre-config element</h2>
|
252
|
+
<p>
|
253
|
+
The pre_config element is a child of log4r_config and contains:
|
254
|
+
</p>
|
255
|
+
<ul>
|
256
|
+
<li>‘<a
|
257
|
+
href="../../classes/Log4r/YamlConfigurator.html#M000029">custom_levels</a>’
|
258
|
+
element
|
259
|
+
|
260
|
+
</li>
|
261
|
+
<li>‘global’ element
|
262
|
+
|
263
|
+
</li>
|
264
|
+
<li>‘parameters’ element
|
265
|
+
|
266
|
+
</li>
|
267
|
+
<li>any number of ‘parameter’ elements
|
268
|
+
|
269
|
+
</li>
|
270
|
+
</ul>
|
271
|
+
<h3>Pre_config: Custom Levels</h3>
|
272
|
+
<p>
|
273
|
+
The <a
|
274
|
+
href="../../classes/Log4r/YamlConfigurator.html#M000029">custom_levels</a>
|
275
|
+
element is not an <em>XML directive</em> of pre_config. It <b>must</b> be
|
276
|
+
specified like this:
|
277
|
+
</p>
|
278
|
+
<pre>
|
279
|
+
<custom_levels>Foo, Bar, Baz</custom_levels>
|
280
|
+
</pre>
|
281
|
+
<p>
|
282
|
+
And <b>not</b> like this:
|
283
|
+
</p>
|
284
|
+
<pre>
|
285
|
+
<!-- NOT SUPPORTED -->
|
286
|
+
<custom_levels levels="Foo, Bar, Baz"/>
|
287
|
+
</pre>
|
288
|
+
<h3>Pre_config: Global Level</h3>
|
289
|
+
<pre>
|
290
|
+
<global level="DEBUG"/>
|
291
|
+
</pre>
|
292
|
+
<p>
|
293
|
+
or
|
294
|
+
</p>
|
295
|
+
<pre>
|
296
|
+
<global><level>DEBUG</level></global>
|
297
|
+
</pre>
|
298
|
+
<p>
|
299
|
+
Here, level is an XML directive of global.
|
300
|
+
</p>
|
301
|
+
<h3>Pre_config: Parameters</h3>
|
302
|
+
<p>
|
303
|
+
Parameters are variables that will be substituted later on. Please see the
|
304
|
+
<b>Concept: Variable Substitution</b> section above. Parameters are <em>XML
|
305
|
+
Directives</em>, which means they can be expressed using elements or
|
306
|
+
attributes. Here is an example:
|
307
|
+
</p>
|
308
|
+
<pre>
|
309
|
+
<parameter name="param name 1" value="param value 1">
|
310
|
+
<parameter name="param name 2" value="param value 2">
|
311
|
+
...
|
312
|
+
<parameters>
|
313
|
+
<param3>value3</param3>
|
314
|
+
<param4>value3</param4>
|
315
|
+
...
|
316
|
+
</pre>
|
317
|
+
<h3>Pre_config: Complete Example</h3>
|
318
|
+
<pre>
|
319
|
+
<log4r_config>
|
320
|
+
|
321
|
+
<pre_config>
|
322
|
+
<custom_levels>
|
323
|
+
Foo,Bar, Baz
|
324
|
+
</custom_levels>
|
325
|
+
<global level="Bar"/>
|
326
|
+
<parameters>
|
327
|
+
<logpath>/var/log/foo</logpath>
|
328
|
+
<mypattern>%l [%d] %m</mypattern>
|
329
|
+
</parameters>
|
330
|
+
</pre_config>
|
331
|
+
</pre>
|
332
|
+
<pre>
|
333
|
+
<!-- define some outputters and loggers -->
|
334
|
+
|
335
|
+
</log4r_config>
|
336
|
+
</pre>
|
337
|
+
<h2>Configuring <a href="../../classes/Log4r.html">Log4r</a> Objects</h2>
|
338
|
+
<p>
|
339
|
+
The XML configuration grammar for Loggers, Outputters and the like are
|
340
|
+
covered in the usage guidelines for those classes.
|
341
|
+
</p>
|
342
|
+
<h2>Order Doesn‘t Matter</h2>
|
343
|
+
<p>
|
344
|
+
You can (it is hoped) define any of the XML objects in any order desired.
|
345
|
+
</p>
|
346
|
+
<h2>Other Info</h2>
|
347
|
+
<table>
|
348
|
+
<tr><td valign="top">Version:</td><td>$Id: configurator.rb,v 1.12 2004/03/17 19:13:07 fando Exp $
|
349
|
+
|
350
|
+
</td></tr>
|
351
|
+
</table>
|
352
|
+
</div>
|
353
|
+
|
354
|
+
<table cellpadding=5 width="100%">
|
355
|
+
<tr><td class="tablesubtitle">Required files</td></tr>
|
356
|
+
</table><br>
|
357
|
+
<div class="name-list">
|
358
|
+
<a href="logger_rb.html">log4r/logger</a>
|
359
|
+
log4r/outputter/staticoutputter
|
360
|
+
log4r/lib/xmlloader
|
361
|
+
<a href="logserver_rb.html">log4r/logserver</a>
|
362
|
+
log4r/outputter/remoteoutputter
|
363
|
+
</div>
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
<table cellpadding=5 width="100%">
|
368
|
+
<tr><td class="tablesubtitle">Classes and Modules</td></tr>
|
369
|
+
</table><br>
|
370
|
+
Module <a href="../../classes/Log4r.html" class="link">Log4r</a><br />
|
371
|
+
::Class <a href="../../classes/Log4r/BasicFormatter.html" class="link">Log4r::BasicFormatter</a><br />
|
372
|
+
::Class <a href="../../classes/Log4r/ConfigError.html" class="link">Log4r::ConfigError</a><br />
|
373
|
+
::Class <a href="../../classes/Log4r/Configurator.html" class="link">Log4r::Configurator</a><br />
|
374
|
+
::Class <a href="../../classes/Log4r/DateFileOutputter.html" class="link">Log4r::DateFileOutputter</a><br />
|
375
|
+
::Class <a href="../../classes/Log4r/DefaultFormatter.html" class="link">Log4r::DefaultFormatter</a><br />
|
376
|
+
::Class <a href="../../classes/Log4r/EmailOutputter.html" class="link">Log4r::EmailOutputter</a><br />
|
377
|
+
::Class <a href="../../classes/Log4r/FileOutputter.html" class="link">Log4r::FileOutputter</a><br />
|
378
|
+
::Class <a href="../../classes/Log4r/Formatter.html" class="link">Log4r::Formatter</a><br />
|
379
|
+
::Class <a href="../../classes/Log4r/IOOutputter.html" class="link">Log4r::IOOutputter</a><br />
|
380
|
+
::Class <a href="../../classes/Log4r/Log4rTools.html" class="link">Log4r::Log4rTools</a><br />
|
381
|
+
::Class <a href="../../classes/Log4r/LogEvent.html" class="link">Log4r::LogEvent</a><br />
|
382
|
+
::Class <a href="../../classes/Log4r/LogServer.html" class="link">Log4r::LogServer</a><br />
|
383
|
+
::Class <a href="../../classes/Log4r/Logger.html" class="link">Log4r::Logger</a><br />
|
384
|
+
::Class <a href="../../classes/Log4r/ObjectFormatter.html" class="link">Log4r::ObjectFormatter</a><br />
|
385
|
+
::Class <a href="../../classes/Log4r/Outputter.html" class="link">Log4r::Outputter</a><br />
|
386
|
+
::Class <a href="../../classes/Log4r/PatternFormatter.html" class="link">Log4r::PatternFormatter</a><br />
|
387
|
+
::Class <a href="../../classes/Log4r/RemoteOutputter.html" class="link">Log4r::RemoteOutputter</a><br />
|
388
|
+
::Class <a href="../../classes/Log4r/RollingFileOutputter.html" class="link">Log4r::RollingFileOutputter</a><br />
|
389
|
+
::Class <a href="../../classes/Log4r/RootLogger.html" class="link">Log4r::RootLogger</a><br />
|
390
|
+
::Class <a href="../../classes/Log4r/SimpleFormatter.html" class="link">Log4r::SimpleFormatter</a><br />
|
391
|
+
::Class <a href="../../classes/Log4r/StderrOutputter.html" class="link">Log4r::StderrOutputter</a><br />
|
392
|
+
::Class <a href="../../classes/Log4r/StdoutOutputter.html" class="link">Log4r::StdoutOutputter</a><br />
|
393
|
+
::Class <a href="../../classes/Log4r/SyslogOutputter.html" class="link">Log4r::SyslogOutputter</a><br />
|
394
|
+
::Class <a href="../../classes/Log4r/YamlConfigurator.html" class="link">Log4r::YamlConfigurator</a><br />
|
395
|
+
<br>
|
396
|
+
|
397
|
+
|
398
|
+
|
399
|
+
<!-- method descriptions -->
|
400
|
+
|
401
|
+
</body>
|
402
|
+
</html>
|