1 /** 2 * LOGBack: the reliable, fast and flexible logging library for Java. 3 * 4 * Copyright (C) 1999-2005, QOS.ch, LOGBack.com 5 * 6 * This library is free software, you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public License as 8 * published by the Free Software Foundation. 9 */ 10 package ch.qos.logback.classic.control; 11 12 13 public class CreateLogger extends ScenarioAction { 14 15 final String loggerName; 16 17 public CreateLogger(String loggerName) { 18 this.loggerName = loggerName; 19 } 20 21 public String getLoggerName() { 22 return loggerName; 23 } 24 25 public String toString() { 26 return "CreateLogger("+loggerName+")"; 27 } 28 }