Example usage for java.util.logging Logger entering

List of usage examples for java.util.logging Logger entering

Introduction

In this page you can find the example usage for java.util.logging Logger entering.

Prototype

public void entering(String sourceClass, String sourceMethod) 

Source Link

Document

Log a method entry.

Usage

From source file:mockit.integration.logging.MoreLoggingIntegrationsTest.java

@Test
public void jdkLoggingShouldLogNothing() {
    Logger log1 = Logger.getAnonymousLogger();

    log1.entering("testing that logger does nothing", "method");
    log1.exiting("testing that logger does nothing", "method", new Object());
}