diff options
author | 2017-08-23 18:41:05 +0200 | |
---|---|---|
committer | 2017-08-24 13:58:46 +0200 | |
commit | a7271d28ba82a24d235da2cf57045bac042d1bb7 (patch) | |
tree | cc7bb8768b3a71f6dc79031c416acf06b5302ab3 | |
parent | cc28a1c3de6e831d6243823ee2d36f6d44a9de96 (diff) |
Update documentation for the print function
Print function prints debug messages, not warnings.
PiperOrigin-RevId: 166212471
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/syntax/MethodLibrary.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/syntax/MethodLibrary.java b/src/main/java/com/google/devtools/build/lib/syntax/MethodLibrary.java index f0f625e6de..34b8808579 100644 --- a/src/main/java/com/google/devtools/build/lib/syntax/MethodLibrary.java +++ b/src/main/java/com/google/devtools/build/lib/syntax/MethodLibrary.java @@ -2107,7 +2107,7 @@ public class MethodLibrary { returnType = Runtime.NoneType.class, doc = "Prints <code>args</code> as output. It will be prefixed with the string <code>" - + "\"WARNING\"</code> and the location (file and line number) of this call. It can be " + + "\"DEBUG\"</code> and the location (file and line number) of this call. It can be " + "used for debugging." + "<p>Using <code>print</code> in production code is discouraged due to the spam it " + "creates for users. For deprecations, prefer a hard error using <a href=\"#fail\">" |