标签:int color 输出 lin win inux rgba out log
linux
System.setOut(new PrintStream(new File("/opt/apache-tomcat-8.5.51/logs/outLog.txt"))); System.out.println("输出到日志文件测试");
windows
System.setOut(new PrintStream(new File("D:/logs/outLog.txt"))); System.out.println("输出到日志文件测试");
标签:int color 输出 lin win inux rgba out log
原文地址:https://www.cnblogs.com/Alwaysbecoding/p/14000206.html