Javaã®1.4ããjava.util.logging(以ä¸JULã¨è¡¨è¨)ã¨ãããã®ã³ã°ããã±ã¼ã¸ãæ¨æºã§ä½¿ããããã«ãªã£ã¦ããã°åºåã®ããã«log4jãªã©ã®ãµã¼ããã¼ãã£ã©ã¤ãã©ãªããã¡ãã¡å°å ¥ãããããå¿ è¦ããªããªãã¿ããªå¹¸ãã«ãªãã¾ããã ã¨è¨ãããã¨ããã§ãããã¤ãè¶ ä¸ä¾¿ãªAPIããã¦ãã¦ã¨ã¦ãã¨ã¦ãã¨ã£ã£ã£ã¦ã使ãè¾ãããµããããªã ã¾ãããã£ã¨ä½¿ã£ã¦ã¿ã¾ããããJava 7ã§ãã Logger.getGlobal().info("log") Logger.getLogger("foo").info("log") åºåã¯ãããªãã¾ãã Jan 15, 2015 5:11:41 PM JUL main INFO: log Jan 15, 2015 5:11:41 PM JUL main INFO: log ã¯ãããã¢ã¤ã§ããã軽ãã¤ã£ãã㨠ãªãã§2è¡ãªãã ã æ¥æAM/PM表è¨ã
{{#tags}}- {{label}}
{{/tags}}