1/*
2 * Copyright (c) 2018 Mockito contributors
3 * This program is made available under the terms of the MIT License.
4 */
5package org.mockito.session;
6
7import org.mockito.Incubating;
8import org.mockito.MockitoSession;
9
10/**
11 * Logger for {@linkplain org.mockito.quality.MockitoHint hints} emitted when
12 * finishing mocking for a {@link MockitoSession}.
13 * <p>
14 * This class is intended to be used by framework integrations, e.g. JUnit. When using
15 * {@link MockitoSession} directly, you'll probably not need it.
16 *
17 * @since 2.15.0
18 */
19@Incubating
20public interface MockitoSessionLogger {
21
22    /**
23     * Logs the hint.
24     *
25     * @param hint to log; never {@code null}
26     */
27    @Incubating
28    void log(String hint);
29
30}
31