Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2008, 2010 VMware Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at Contributors: VMware Inc. - initial contribution /
package org.eclipse.virgo.nano.serviceability;
public class LogEventDelegate implements LogEvent {
    private final String prefix;
    private final int code;
    private final Level level;
    public LogEventDelegate(String prefixint codeLevel level) {
        this. = prefix;
        this. = code;
        this. = level;
    public String getEventCode() {
        return String.format("%s%04d%1.1s"this.this.this.);
    public Level getLevel() {
        return this.;
New to GrepCode? Check out our FAQ X