aboutsummaryrefslogtreecommitdiffstats
path: root/demo/plugins/plugin1
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2022-06-30 00:40:40 +0300
committerDecebal Suiu <decebal.suiu@gmail.com>2022-06-30 00:40:40 +0300
commitaa07dfd91e82c90b8cc0d6b0ab6f2ae56c077f05 (patch)
treef2473217df6f161c5cc26676e22dc793e5b108d0 /demo/plugins/plugin1
parentd4f0de4a9654123e431dd57be7798971381cab55 (diff)
downloadpf4j-aa07dfd91e82c90b8cc0d6b0ab6f2ae56c077f05.tar.gz
pf4j-aa07dfd91e82c90b8cc0d6b0ab6f2ae56c077f05.zip
Use logger instead of System.out.println for demo
Diffstat (limited to 'demo/plugins/plugin1')
-rw-r--r--demo/plugins/plugin1/src/main/java/org/pf4j/demo/welcome/WelcomePlugin.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/demo/plugins/plugin1/src/main/java/org/pf4j/demo/welcome/WelcomePlugin.java b/demo/plugins/plugin1/src/main/java/org/pf4j/demo/welcome/WelcomePlugin.java
index 8dce434..a0cecab 100644
--- a/demo/plugins/plugin1/src/main/java/org/pf4j/demo/welcome/WelcomePlugin.java
+++ b/demo/plugins/plugin1/src/main/java/org/pf4j/demo/welcome/WelcomePlugin.java
@@ -34,16 +34,16 @@ public class WelcomePlugin extends Plugin {
@Override
public void start() {
- System.out.println("WelcomePlugin.start()");
+ log.info("WelcomePlugin.start()");
// for testing the development mode
if (RuntimeMode.DEVELOPMENT.equals(wrapper.getRuntimeMode())) {
- System.out.println(StringUtils.upperCase("WelcomePlugin"));
+ log.info(StringUtils.upperCase("WelcomePlugin"));
}
}
@Override
public void stop() {
- System.out.println("WelcomePlugin.stop()");
+ log.info("WelcomePlugin.stop()");
}
@Extension