2021-10-07 15:48:52 +02:00
|
|
|
// SPDX-FileCopyrightText: 2021 Paul Schaub <vanitasvitae@fsfe.org>
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-07-15 16:55:13 +02:00
|
|
|
package sop.cli.picocli;
|
2021-01-18 18:31:50 +01:00
|
|
|
|
2021-07-15 16:55:13 +02:00
|
|
|
public class Print {
|
2021-01-18 18:31:50 +01:00
|
|
|
|
2021-07-15 16:55:13 +02:00
|
|
|
public static void errln(String string) {
|
|
|
|
// CHECKSTYLE:OFF
|
|
|
|
System.err.println(string);
|
|
|
|
// CHECKSTYLE:ON
|
|
|
|
}
|
|
|
|
|
|
|
|
public static void trace(Throwable e) {
|
|
|
|
// CHECKSTYLE:OFF
|
|
|
|
e.printStackTrace();
|
|
|
|
// CHECKSTYLE:ON
|
|
|
|
}
|
2021-01-18 18:31:50 +01:00
|
|
|
|
2021-07-15 16:55:13 +02:00
|
|
|
public static void outln(String string) {
|
|
|
|
// CHECKSTYLE:OFF
|
|
|
|
System.out.println(string);
|
|
|
|
// CHECKSTYLE:ON
|
2021-01-18 18:31:50 +01:00
|
|
|
}
|
|
|
|
}
|