Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 558 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 558 Bytes

Logger

Logger 사용법은 간단합니다.


Logger.d(" Message ");


단지 사용할 때 Debug 인지 아닌지를 static 으로 선언해주시면 됩니다.



public class AppConfig {

	private static boolean isDebuggable;

	public void setDebuggable(boolean debug) {
		isDebuggable = debug;
	}

	public static boolean isDebuggable() {
		return isDebuggable;
	}

}


getCallerInfo 메소드는 해당 클래스의 이름과 Logger 를 호출한 메소드의 이름을 나타냅니다.