Lines Matching refs:log
10 logfile = 'app.log'
11 self.log = logfile
21 @log.info { 'Started.' }
23 @log.info { "This block isn't evaled because 'debug' is not severe here." }
24 @log.debug { "Result = " << foo(0) }
25 @log.info { "So nothing is dumped." }
27 @log.info { "This block is evaled because 'info' is enough severe here." }
28 @log.info { "Result = " << foo(0) }
29 @log.info { "Above causes exception, so not reached here." }
31 @log.info { 'Finished.' }
45 puts 'See "app.log".'