// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.philips.lighting.hue.sdk.utilities.impl; import java.io.PrintStream; public class PHLog { public static final int DEBUG = 2; public static final int SUPPRESS = 1; private static boolean debug; private static boolean error; private static boolean info; private static int sdkLogLevel = 1; private static boolean warn; public PHLog() { } public static void d(String s, String s1) { if (debug) { System.out.println((new StringBuilder(String.valueOf(s))).append(" ").append(s1).toString()); } } public static void e(String s, String s1) { if (error) { System.out.println((new StringBuilder(String.valueOf(s))).append(" ").append(s1).toString()); } } public static void i(String s, String s1) { if (info) { System.out.println((new StringBuilder(String.valueOf(s))).append(" ").append(s1).toString()); } } private void initLogLevel() { } public static boolean isLoggable() { boolean flag = true; if (sdkLogLevel <= 1) { flag = false; } return flag; } public static void w(String s, String s1) { if (warn) { System.out.println((new StringBuilder(String.valueOf(s))).append(" ").append(s1).toString()); } } public int getSdkLogLevel() { return sdkLogLevel; } public void setSdkLogLevel(int j) { sdkLogLevel = j; initLogLevel(); } }