Fixer.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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
  29. {
  30. private static Logger logger = Logger.getLogger(ServiceListenerStatus.class.getName());
  31. static
  32. {
  33. logger.setFilter(new Filter()
  34. {
  35. @Override
  36. public boolean isLoggable(LogRecord record)
  37. {
  38. return false;
  39. }
  40. });
  41. }
  42. }
  43. // vim: expandtab