001package stdlib;
002
003public class Logger {
004        private Logger() { }
005        private static boolean on = true;
006        public static void on () { on = true; }
007        public static void off () { on = false; }
008        public static void println (String s) {
009                if (on) {
010                        System.out.println (s);
011                }
012        }
013}