This repository was archived by the owner on Jun 10, 2024. It is now read-only.
File tree 1 file changed +10
-8
lines changed
currying/src/main/java/com/iluwatar/currying
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 25
25
package com .iluwatar .currying ;
26
26
27
27
import java .time .LocalDate ;
28
+ import lombok .extern .slf4j .Slf4j ;
28
29
29
30
/**
30
31
* This is a Javadoc comment to pass the style check.
31
32
*/
33
+ @ Slf4j
32
34
public class App {
33
35
/**
34
36
* This is a Javadoc comment to pass the style check.
@@ -62,15 +64,15 @@ public static void main(String[] args) {
62
64
.withTitle ("Foundation" )
63
65
.withPublicationDate (LocalDate .of (1942 , 5 , 1 ));
64
66
65
- System . out . println ("Stephen King Books:" );
66
- System . out . println (shining );
67
- System . out . println (darkTower );
67
+ LOGGER . info ("Stephen King Books:" );
68
+ LOGGER . info (shining . toString () );
69
+ LOGGER . info (darkTower . toString () );
68
70
69
- System . out . println ("J.K. Rowling Books:" );
70
- System . out . println (chamberOfSecrets );
71
+ LOGGER . info ("J.K. Rowling Books:" );
72
+ LOGGER . info (chamberOfSecrets . toString () );
71
73
72
- System . out . println ("Sci-fi Books:" );
73
- System . out . println (dune );
74
- System . out . println (foundation );
74
+ LOGGER . info ("Sci-fi Books:" );
75
+ LOGGER . info (dune . toString () );
76
+ LOGGER . info (foundation . toString () );
75
77
}
76
78
}
You can’t perform that action at this time.
0 commit comments