Last change
on this file since 29855 was 29855, checked in by davidb, 9 years ago |
John's code after refactoring by Tom over the summer of 2014/2015
|
File size:
372 bytes
|
Line | |
---|
1 |
|
---|
2 | package util;
|
---|
3 |
|
---|
4 | import java.util.Date;
|
---|
5 |
|
---|
6 | /**
|
---|
7 | * Prints logs
|
---|
8 | */
|
---|
9 |
|
---|
10 | /**
|
---|
11 | * @author University of Waikato - Te Whare WÄnanga o Waikato
|
---|
12 | * @version 1.0
|
---|
13 | * @since 2014-11-20
|
---|
14 | */
|
---|
15 |
|
---|
16 |
|
---|
17 | public class LogUtil {
|
---|
18 |
|
---|
19 | /** Prints logs with date */
|
---|
20 | public static void println(String str) {
|
---|
21 | System.out.println();
|
---|
22 | System.out.println(new Date()+ "\t" + str);
|
---|
23 | }
|
---|
24 |
|
---|
25 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.