WifiLog.java revision 0c96e05ef24dc72fa31b6915ed40f09dc7238276
1/*
2 * Copyright (C) 2016 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package com.android.server.wifi;
18
19public interface WifiLog {
20    /**
21     * Log an error using the default tag for this WifiLog instance.
22     * @param msg the message to be logged
23     */
24    void e(String msg);
25
26    /**
27     * Log a warning using the default tag for this WifiLog instance.
28     * @param msg the message to be logged
29     */
30    void w(String msg);
31
32    /**
33     * Log an informational message using the default tag for this WifiLog instance.
34     * @param msg the message to be logged
35     */
36    void i(String msg);
37
38    /**
39     * Log a debug message using the default tag for this WifiLog instance.
40     * @param msg the message to be logged
41     */
42    void d(String msg);
43
44    /**
45     * Log a verbose message using the default tag for this WifiLog instance.
46     * @param msg the message to be logged
47     */
48    void v(String msg);
49}
50