diff options
author | Decebal Suiu <decebal.suiu@gmail.com> | 2022-06-30 00:40:40 +0300 |
---|---|---|
committer | Decebal Suiu <decebal.suiu@gmail.com> | 2022-06-30 00:40:40 +0300 |
commit | aa07dfd91e82c90b8cc0d6b0ab6f2ae56c077f05 (patch) | |
tree | f2473217df6f161c5cc26676e22dc793e5b108d0 /demo/plugins/plugin1 | |
parent | d4f0de4a9654123e431dd57be7798971381cab55 (diff) | |
download | pf4j-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.java | 6 |
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 |