examples/testtabp.rb in rbcurse-1.1.3 vs examples/testtabp.rb in rbcurse-1.1.4
- old
+ new
@@ -92,10 +92,10 @@
if $0 == __FILE__
# Initialize curses
begin
# XXX update with new color and kb
VER::start_ncurses # this is initializing colors via ColorMap.setup
- $log = Logger.new("view.log")
+ $log = Logger.new((File.join(ENV["LOGDIR"] || "./" ,"view.log")))
$log.level = Logger::DEBUG
n = TestTabbedPane.new
n.run
rescue => ex
ensure