1 61 62 package org.logicalcobwebs.logging.impl; 63 64 import org.logicalcobwebs.logging.Log; 65 66 74 public final class NoOpLog implements Log { 75 76 77 public NoOpLog () { 78 } 79 80 public NoOpLog (String name) { 81 } 82 83 public void trace (Object message) { 84 } 85 86 public void trace (Object message, Throwable t) { 87 } 88 89 public void debug (Object message) { 90 } 91 92 public void debug (Object message, Throwable t) { 93 } 94 95 public void info (Object message) { 96 } 97 98 public void info (Object message, Throwable t) { 99 } 100 101 public void warn (Object message) { 102 } 103 104 public void warn (Object message, Throwable t) { 105 } 106 107 public void error (Object message) { 108 } 109 110 public void error (Object message, Throwable t) { 111 } 112 113 public void fatal (Object message) { 114 } 115 116 public void fatal (Object message, Throwable t) { 117 } 118 119 124 public final boolean isDebugEnabled () { 125 return false; 126 } 127 128 133 public final boolean isErrorEnabled () { 134 return false; 135 } 136 137 142 public final boolean isFatalEnabled () { 143 return false; 144 } 145 146 151 public final boolean isInfoEnabled () { 152 return false; 153 } 154 155 160 public final boolean isTraceEnabled () { 161 return false; 162 } 163 164 169 public final boolean isWarnEnabled () { 170 return false; 171 } 172 173 } 174 175 | Popular Tags |