comparison logging/src/luan/modules/logging/LuanLogger.java @ 575:7c3ad6db8ac3

make LuanState.JAVA private
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 13 Jul 2015 18:34:31 -0600
parents f1601a4ce1aa
children b21d82ee5756
comparison
equal deleted inserted replaced
574:6cc2f047019b 575:7c3ad6db8ac3
14 public LuanLogger(Logger logger) { 14 public LuanLogger(Logger logger) {
15 this.logger = logger; 15 this.logger = logger;
16 } 16 }
17 17
18 public void error(LuanState luan,Object obj) throws LuanException { 18 public void error(LuanState luan,Object obj) throws LuanException {
19 logger.error( luan.JAVA.toString(obj) ); 19 logger.error( luan.toString(obj) );
20 } 20 }
21 21
22 public void warn(LuanState luan,Object obj) throws LuanException { 22 public void warn(LuanState luan,Object obj) throws LuanException {
23 logger.warn( luan.JAVA.toString(obj) ); 23 logger.warn( luan.toString(obj) );
24 } 24 }
25 25
26 public void info(LuanState luan,Object obj) throws LuanException { 26 public void info(LuanState luan,Object obj) throws LuanException {
27 logger.info( luan.JAVA.toString(obj) ); 27 logger.info( luan.toString(obj) );
28 } 28 }
29 29
30 public void debug(LuanState luan,Object obj) throws LuanException { 30 public void debug(LuanState luan,Object obj) throws LuanException {
31 logger.debug( luan.JAVA.toString(obj) ); 31 logger.debug( luan.toString(obj) );
32 } 32 }
33 33
34 } 34 }