From df9604576ed4bab93e0bdf7d38e91029dc28c27b Mon Sep 17 00:00:00 2001 From: Braden Steffaniak Date: Tue, 12 Jul 2022 07:11:28 -0400 Subject: [PATCH] Update logging --- src/main/org/flatlang/Flat.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/org/flatlang/Flat.java b/src/main/org/flatlang/Flat.java index 27e075134..151e567a9 100644 --- a/src/main/org/flatlang/Flat.java +++ b/src/main/org/flatlang/Flat.java @@ -593,24 +593,24 @@ private void createSyntaxTree(boolean generateCode) long time = System.currentTimeMillis(); long newTime = time; - log("Generating output... ", false); + log("Generating output..."); codeGeneratorEngine.generateOutput(); - log("took " + ((newTime = System.currentTimeMillis()) - time) + "ms"); + log("Generating output took " + ((newTime = System.currentTimeMillis()) - time) + "ms"); time = newTime; - log("Inserting main method... ", false); + log("Inserting main method..."); codeGeneratorEngine.insertMainMethod(); - log("took " + ((newTime = System.currentTimeMillis()) - time) + "ms"); + log("Inserting main method took " + ((newTime = System.currentTimeMillis()) - time) + "ms"); time = newTime; - log("Formatting output... ", false); + log("Formatting output..."); codeGeneratorEngine.formatOutput(); - log("took " + ((newTime = System.currentTimeMillis()) - time) + "ms"); + log("Formatting output took " + ((newTime = System.currentTimeMillis()) - time) + "ms"); time = newTime; - log("Writing files... "); + log("Writing files..."); codeGeneratorEngine.writeFiles(); - log("took " + ((newTime = System.currentTimeMillis()) - time) + "ms"); + log("Writing files took " + ((newTime = System.currentTimeMillis()) - time) + "ms"); time = newTime; }