Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/bThink-BGU/BPjs into dev…
Browse files Browse the repository at this point in the history
…elop
  • Loading branch information
achiyae committed Jan 3, 2021
2 parents 4f0e461 + 7943cc4 commit bb546fd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ public void fine(Object msg, Object ...args) {
public void log(LogLevel lvl, Object msg, Object... args) {
if (level.compareTo(lvl) >= 0) {
System.out.println("[BP][" + lvl.name() + "] " +
args == null || args.length == 0 ? ScriptableUtils.stringify(msg) :
MessageFormat.format(ScriptableUtils.stringify(msg), Arrays.stream(args).map(ScriptableUtils::stringify).toArray()));
(args.length == 0 ? ScriptableUtils.stringify(msg) :
MessageFormat.format(ScriptableUtils.stringify(msg), Arrays.stream(args).map(ScriptableUtils::stringify).toArray())));
}
}

Expand Down

0 comments on commit bb546fd

Please sign in to comment.