Skip to content

Commit 6ec9962

Browse files
Print "archiving core" message at INFO level
This previously used the DEBUG level, which is shown in red by the Arduino IDE. Commit 7883e01 (Let "archiving core" message appear only if verbose) attempted to fix this, but did not. While here, this also changes Fprintln with an explicit Stdout argument to a regular Println, since Stdout is the default anyway. This commit properly fixes #238. Signed-off-by: Matthijs Kooijman <[email protected]>
1 parent b91cea8 commit 6ec9962

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: src/arduino.cc/builder/phases/core_builder.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
package phases
3131

3232
import (
33-
"os"
3433
"path/filepath"
3534

3635
"arduino.cc/builder/builder_utils"
@@ -128,7 +127,7 @@ func compileCore(buildPath string, buildCachePath string, buildProperties proper
128127
// archive core.a
129128
if targetArchivedCore != "" {
130129
if verbose {
131-
logger.Fprintln(os.Stdout, constants.LOG_LEVEL_DEBUG, constants.MSG_ARCHIVING_CORE_CACHE, targetArchivedCore)
130+
logger.Println(constants.LOG_LEVEL_INFO, constants.MSG_ARCHIVING_CORE_CACHE, targetArchivedCore)
132131
}
133132
builder_utils.CopyFile(archiveFile, targetArchivedCore)
134133
}

0 commit comments

Comments
 (0)