Fixer.java 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // Fixer
  2. //
  3. // Douglas Thrift
  4. //
  5. // Fixer.java
  6. /* Copyright 2011 Douglas Thrift
  7. *
  8. * This file is part of Big Screen Bot.
  9. *
  10. * Big Screen Bot is free software: you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License as published by
  12. * the Free Software Foundation, either version 3 of the License, or
  13. * (at your option) any later version.
  14. *
  15. * Big Screen Bot is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. * GNU General Public License for more details.
  19. *
  20. * You should have received a copy of the GNU General Public License
  21. * along with Big Screen Bot. If not, see <http://www.gnu.org/licenses/>.
  22. */
  23. package net.douglasthrift.bigscreenbot;
  24. import java.util.logging.Filter;
  25. import java.util.logging.Logger;
  26. import java.util.logging.LogRecord;
  27. import javax.jmdns.impl.ListenerStatus.ServiceListenerStatus;
  28. class Fixer implements Filter
  29. {
  30. private static Logger logger = Logger.getLogger(ServiceListenerStatus.class.getName());
  31. Fixer()
  32. {
  33. logger.setFilter(this);
  34. }
  35. @Override
  36. public boolean isLoggable(LogRecord record)
  37. {
  38. return false;
  39. }
  40. }
  41. // vim: expandtab