test_class.declarator: loggerName = "common"
test_class.original_string: String loggerName = "common";
test_class.type: String
test_class.var_name: loggerName
test_class.declarator: logbackResource
test_class.original_string: LogbackLoggerResource logbackResource;
test_class.type: LogbackLoggerResource
test_class.var_name: logbackResource
test_class.file: micro-logback/src/test/java/com/oath/micro/server/logback/rest/LogbackLoggerResourceTest.java
test_class.identifier: LogbackLoggerResourceTest
test_case.body: @Test
  	public void testChangeToOff() {
  		assertThat(logbackResource.changeToOff(loggerName), is("OFF"));
  	}
test_case.class_method_signature: LogbackLoggerResourceTest.testChangeToOff()
test_case.full_signature: @Test public void testChangeToOff()
test_case.identifier: testChangeToOff
test_case.invocations: assertThat changeToOff is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testChangeToOff()
focal_class.file: micro-logback/src/main/java/com/oath/micro/server/logback/rest/LogbackLoggerResource.java
focal_class.identifier: LogbackLoggerResource
focal_class.interfaces: implements SingletonRestResource
focal_class.class_method_signature: LogbackLoggerResource.getLevel(@PathParam("loggerName") final String loggerName)
focal_class.full_signature: @GET @Produces(MediaType.TEXT_PLAIN) @Path("/get/level/{loggerName}") public String getLevel(@PathParam("loggerName") final String loggerName)
focal_class.identifier: getLevel
focal_class.modifiers: @GET @Produces(MediaType.TEXT_PLAIN) @Path("/get/level/{loggerName}") public
focal_class.parameters: (@PathParam("loggerName") final String loggerName)
focal_class.return: String
focal_class.signature: String getLevel(@PathParam("loggerName") final String loggerName)
focal_class.class_method_signature: LogbackLoggerResource.changeToAll(@PathParam("loggerName") final String loggerName)
focal_class.full_signature: @GET @Produces(MediaType.TEXT_PLAIN) @Path("/change/to/all/{loggerName}") public String changeToAll(@PathParam("loggerName") final String loggerName)
focal_class.identifier: changeToAll
focal_class.modifiers: @GET @Produces(MediaType.TEXT_PLAIN) @Path("/change/to/all/{loggerName}") public
focal_class.parameters: (@PathParam("loggerName") final String loggerName)
focal_class.return: String
focal_class.signature: String changeToAll(@PathParam("loggerName") final String loggerName)
focal_class.class_method_signature: LogbackLoggerResource.changeToDebug(@PathParam("loggerName") final String loggerName)
focal_class.full_signature: @GET @Produces(MediaType.TEXT_PLAIN) @Path("/change/to/debug/{loggerName}") public String changeToDebug(@PathParam("loggerName") final String loggerName)
focal_class.identifier: changeToDebug
focal_class.modifiers: @GET @Produces(MediaType.TEXT_PLAIN) @Path("/change/to/debug/{loggerName}") public
focal_class.parameters: (@PathParam("loggerName") final String loggerName)
focal_class.return: String
focal_class.signature: String changeToDebug(@PathParam("loggerName") final String loggerName)
focal_class.class_method_signature: LogbackLoggerResource.changeToError(@PathParam("loggerName") final String loggerName)
focal_class.full_signature: @GET @Produces(MediaType.TEXT_PLAIN) @Path("/change/to/error/{loggerName}") public String changeToError(@PathParam("loggerName") final String loggerName)
focal_class.identifier: changeToError
focal_class.modifiers: @GET @Produces(MediaType.TEXT_PLAIN) @Path("/change/to/error/{loggerName}") public
focal_class.parameters: (@PathParam("loggerName") final String loggerName)
focal_class.return: String
focal_class.signature: String changeToError(@PathParam("loggerName") final String loggerName)
focal_class.class_method_signature: LogbackLoggerResource.changeToInfo(@PathParam("loggerName") final String loggerName)
focal_class.full_signature: @GET @Produces(MediaType.TEXT_PLAIN) @Path("/change/to/info/{loggerName}") public String changeToInfo(@PathParam("loggerName") final String loggerName)
focal_class.identifier: changeToInfo
focal_class.modifiers: @GET @Produces(MediaType.TEXT_PLAIN) @Path("/change/to/info/{loggerName}") public
focal_class.parameters: (@PathParam("loggerName") final String loggerName)
focal_class.return: String
focal_class.signature: String changeToInfo(@PathParam("loggerName") final String loggerName)
focal_class.class_method_signature: LogbackLoggerResource.changeToOff(@PathParam("loggerName") final String loggerName)
focal_class.full_signature: @GET @Produces(MediaType.TEXT_PLAIN) @Path("/change/to/off/{loggerName}") public String changeToOff(@PathParam("loggerName") final String loggerName)
focal_class.identifier: changeToOff
focal_class.modifiers: @GET @Produces(MediaType.TEXT_PLAIN) @Path("/change/to/off/{loggerName}") public
focal_class.parameters: (@PathParam("loggerName") final String loggerName)
focal_class.return: String
focal_class.signature: String changeToOff(@PathParam("loggerName") final String loggerName)
focal_class.class_method_signature: LogbackLoggerResource.changeToTrace(@PathParam("loggerName") final String loggerName)
focal_class.full_signature: @GET @Produces(MediaType.TEXT_PLAIN) @Path("/change/to/trace/{loggerName}") public String changeToTrace(@PathParam("loggerName") final String loggerName)
focal_class.identifier: changeToTrace
focal_class.modifiers: @GET @Produces(MediaType.TEXT_PLAIN) @Path("/change/to/trace/{loggerName}") public
focal_class.parameters: (@PathParam("loggerName") final String loggerName)
focal_class.return: String
focal_class.signature: String changeToTrace(@PathParam("loggerName") final String loggerName)
focal_class.class_method_signature: LogbackLoggerResource.changeToWarn(@PathParam("loggerName") final String loggerName)
focal_class.full_signature: @GET @Produces(MediaType.TEXT_PLAIN) @Path("/change/to/warn/{loggerName}") public String changeToWarn(@PathParam("loggerName") final String loggerName)
focal_class.identifier: changeToWarn
focal_class.modifiers: @GET @Produces(MediaType.TEXT_PLAIN) @Path("/change/to/warn/{loggerName}") public
focal_class.parameters: (@PathParam("loggerName") final String loggerName)
focal_class.return: String
focal_class.signature: String changeToWarn(@PathParam("loggerName") final String loggerName)
focal_class.class_method_signature: LogbackLoggerResource.changeLevel(Logger logger, Level newLevel)
focal_class.full_signature: private void changeLevel(Logger logger, Level newLevel)
focal_class.identifier: changeLevel
focal_class.modifiers: private
focal_class.parameters: (Logger logger, Level newLevel)
focal_class.return: void
focal_class.signature: void changeLevel(Logger logger, Level newLevel)
focal_method.body: @GET
  	@Produces(MediaType.TEXT_PLAIN)
  	@Path("/change/to/off/{loggerName}")
  	public String changeToOff(@PathParam("loggerName") final String loggerName) {
  		Logger logger = (Logger) LoggerFactory.getLogger(loggerName);
  		changeLevel(logger, Level.OFF);
  		return getLevel(loggerName);
  	}
focal_method.class_method_signature: LogbackLoggerResource.changeToOff(@PathParam("loggerName") final String loggerName)
focal_method.full_signature: @GET @Produces(MediaType.TEXT_PLAIN) @Path("/change/to/off/{loggerName}") public String changeToOff(@PathParam("loggerName") final String loggerName)
focal_method.identifier: changeToOff
focal_method.invocations: getLogger changeLevel getLevel
focal_method.modifiers: @GET @Produces(MediaType.TEXT_PLAIN) @Path("/change/to/off/{loggerName}") public
focal_method.parameters: (@PathParam("loggerName") final String loggerName)
focal_method.return: String
focal_method.signature: String changeToOff(@PathParam("loggerName") final String loggerName)