絞り込み条件を変更する
検索条件を絞り込む
有料ブログの投稿方法はこちら

すべてのカテゴリ

1 件中 1 - 1 件表示
カバー画像

Programming with Java, part 10

1.About logI think that the purpose of outputting the log is as follows.・To confirm whether the process was performed when testing the program.・To log a message when an error occurs and use it for investigation.・To record the processing date and time and access status to check for hacking."Log4j" is a representative Java log output, and it isone of the Java logging frameworks. But I think theLogger class in the java.util.logging package is moresuitable for beginners. So let's take a look at theLogger class this time.2.java.util.logging.LoggerThe following program explains how to output logsusing the Logger class.-------------------------- LogTest.java -------------------------------------imp
0
1 件中 1 - 1
有料ブログの投稿方法はこちら