summaryrefslogtreecommitdiffstats
path: root/lib/efl/eina_log.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efl/eina_log.rb')
-rw-r--r--lib/efl/eina_log.rb4
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