Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3ada8d2

Browse files
SPSP
SP
authored and
SP
committedApr 19, 2025
iluwatar#1263 - creating Console View for Product
1 parent 6ed92f7 commit 3ada8d2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
 
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package com.iluwatar.viewhelper;
2+
3+
import lombok.extern.slf4j.Slf4j;
4+
5+
/**
6+
* Renders {@link ProductViewModel} to the console.
7+
*/
8+
@Slf4j
9+
public class ConsoleProductView implements View<ProductViewModel> {
10+
@Override
11+
public void render(ProductViewModel productViewModel) {
12+
LOGGER.info(productViewModel.toString());
13+
}
14+
}

0 commit comments

Comments
 (0)
Please sign in to comment.