Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package org.graylog2.restroutes.generated;
 
 
 public class LoggersResource {
 
 
     public PathMethod loggers() {
        return new PathMethod("GET""/system/loggers");
    }
    public PathMethod subsytems() {
        return new PathMethod("GET""/system/loggers/subsystems");
    }
    public PathMethod setSubsystemLoggerLevel(String subsystemString level) {
        return new PathMethod("PUT""/system/loggers/subsystems/"+subsystem+"/level/"+level+"");
    }
    public PathMethod setSingleLoggerLevel(String loggerNameString level) {
        return new PathMethod("PUT""/system/loggers/"+loggerName+"/level/"+level+"");
    }
New to GrepCode? Check out our FAQ X