summaryrefslogtreecommitdiffstats
path: root/lib/efl/eina_log.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-24 22:18:20 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-24 22:18:20 +0100
commit297e9fdfa3819ee45a365082e597a6d7cdd8ac01 (patch)
treec13586a50713de4102b8ba32be9b01c0daf124f7 /lib/efl/eina_log.rb
parent8187059fcc3f510851baccec48be266374af0a6b (diff)
downloadffi-efl-297e9fdfa3819ee45a365082e597a6d7cdd8ac01.zip
ffi-efl-297e9fdfa3819ee45a365082e597a6d7cdd8ac01.tar.gz
efl/eina*: cleanup
Diffstat (limited to 'lib/efl/eina_log.rb')
-rw-r--r--lib/efl/eina_log.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/efl/eina_log.rb b/lib/efl/eina_log.rb
index 95c4668..4736003 100644
--- a/lib/efl/eina_log.rb
+++ b/lib/efl/eina_log.rb
@@ -1,7 +1,6 @@
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
-#require 'efl'
require 'efl/eina'
require 'efl/native/eina_log'
#
@@ -46,6 +45,9 @@ module Efl
file, line, func = caller[1].split ':'
Native.eina_log_print Native.EINA_LOG_DOMAIN_GLOBAL, lvl, file, func, line.to_i, msg
end
+ class << self
+ private :_log
+ end
#
def self.log_crit msg
self._log :eina_log_level_critical, msg