• BlackBerry Dynamics
  • Runtime library for Android applications
  • 10.1.0.35
NoOpLog Class Reference

Inherits Log, and Serializable.

Description

Trivial implementation of Log that throws away all messages. No configurable system properties are supported.

Author
Scott Sanders
Rod Waldhoff
Version
Id
NoOpLog.java 155426 2005-02-26 13:10:49Z dirkv

Notice


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...
 

Member Function Documentation

◆ isDebugEnabled()

final boolean isDebugEnabled ( )
Returns
false

Implements Log.

◆ isErrorEnabled()

final boolean isErrorEnabled ( )
Returns
false

Implements Log.

◆ isFatalEnabled()

final boolean isFatalEnabled ( )
Returns
false

Implements Log.

◆ isInfoEnabled()

final boolean isInfoEnabled ( )
Returns
false

Implements Log.

◆ isTraceEnabled()

final boolean isTraceEnabled ( )
Returns
false

Implements Log.

◆ isWarnEnabled()

final boolean isWarnEnabled ( )
Returns
false

Implements Log.