1 /**
2 * Logback: the generic, reliable, fast and flexible logging framework.
3 *
4 * Copyright (C) 1999-2006, QOS.ch
5 *
6 * This library is free software, you can redistribute it and/or modify it under
7 * the terms of the GNU Lesser General Public License as published by the Free
8 * Software Foundation.
9 */
10 package chapter2;
11
12 import org.slf4j.Logger;
13 import org.slf4j.LoggerFactory;
14
15 class Bar {
16 Logger logger = LoggerFactory.getLogger(Bar.class);
17
18 public void doIt() {
19 logger.debug("doing my job");
20 }
21 }