Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Apache License 

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Main {
    public static void debug(Class class_, String str) {
        getLogger(class_).debug(str);
    }

    public static Logger getLogger(String className) {
        return LoggerFactory.getLogger(className);
    }

    public static Logger getLogger(Class class_) {
        return getLogger(class_.getName());
    }
}