diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-27 15:48:45 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-27 15:48:45 +0100 |
commit | ef44077310b4ebf8d3cb31ccb57d15b96a94c9d3 (patch) | |
tree | c2bb690ccc1be37c03f6dcdcf892fbf3e17f5067 /lib/efl/eina_log.rb | |
parent | dbb2c5713e11489dfaeb318a82785017f1794dde (diff) | |
parent | b030c490265bb13ee98a650da419a033495042ed (diff) | |
download | ffi-efl-ef44077310b4ebf8d3cb31ccb57d15b96a94c9d3.zip ffi-efl-ef44077310b4ebf8d3cb31ccb57d15b96a94c9d3.tar.gz |
Merge branch 'wip'
Conflicts:
tools/genruby.rb
Diffstat (limited to 'lib/efl/eina_log.rb')
-rw-r--r-- | lib/efl/eina_log.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/efl/eina_log.rb b/lib/efl/eina_log.rb index d30cf43..4736003 100644 --- a/lib/efl/eina_log.rb +++ b/lib/efl/eina_log.rb @@ -1,6 +1,7 @@ #! /usr/bin/env ruby # -*- coding: UTF-8 -*- # +require 'efl/eina' require 'efl/native/eina_log' # module Efl @@ -44,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 |