Inherits Log, and Serializable.
Trivial implementation of Log that throws away all messages. No configurable system properties are supported.
The following notice applies to the original API on which this API is based, and to its documentation. The documentation of this API has been revised from the original.
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */
Public Member Functions | |
NoOpLog () | |
Convenience constructor. | |
NoOpLog (String name) | |
Base constructor. | |
void | trace (Object message) |
Do nothing. | |
void | trace (Object message, Throwable t) |
Do nothing. | |
void | debug (Object message) |
Do nothing. | |
void | debug (Object message, Throwable t) |
Do nothing. | |
void | info (Object message) |
Do nothing. | |
void | info (Object message, Throwable t) |
Do nothing. | |
void | warn (Object message) |
Do nothing. | |
void | warn (Object message, Throwable t) |
Do nothing. | |
void | error (Object message) |
Do nothing. | |
void | error (Object message, Throwable t) |
Do nothing. | |
void | fatal (Object message) |
Do nothing. | |
void | fatal (Object message, Throwable t) |
Do nothing. | |
final boolean | isDebugEnabled () |
Debug is never enabled. More... | |
final boolean | isErrorEnabled () |
Error is never enabled. More... | |
final boolean | isFatalEnabled () |
Fatal is never enabled. More... | |
final boolean | isInfoEnabled () |
Info is never enabled. More... | |
final boolean | isTraceEnabled () |
Trace is never enabled. More... | |
final boolean | isWarnEnabled () |
Warn is never enabled. More... | |
final boolean isDebugEnabled | ( | ) |
Implements Log.
final boolean isErrorEnabled | ( | ) |
Implements Log.
final boolean isFatalEnabled | ( | ) |
Implements Log.
final boolean isInfoEnabled | ( | ) |
Implements Log.
final boolean isTraceEnabled | ( | ) |
Implements Log.
final boolean isWarnEnabled | ( | ) |
Implements Log.