2 * ================================================================================
3 * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
4 * ================================================================================
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 * ============LICENSE_END=========================================================
20 package org.onap.dcae.utils.eelf.logger.api.noop;
23 import org.onap.dcae.utils.eelf.logger.api.info.LogLevelCategory;
24 import org.onap.dcae.utils.eelf.logger.api.log.AuditLog;
25 import org.onap.dcae.utils.eelf.logger.api.spec.AuditLogSpec;
26 import org.onap.dcae.utils.eelf.logger.api.spec.OptionalLogSpec;
29 * A no operation implementation of AuditLog
31 * @author Rajiv Singla
33 public class NoOpAuditLog implements AuditLog {
36 public void log(final LogLevelCategory logLevelCategory, final String message, final AuditLogSpec auditLogSpec,
37 final OptionalLogSpec optionalLogSpec, final String... args) {
42 public void log(final LogLevelCategory logLevelCategory, final String message, final AuditLogSpec auditLogSpec,
43 final String... args) {
48 public void info(final String message, final AuditLogSpec auditLogSpec, final OptionalLogSpec optionalLogSpec,
49 final String... args) {
54 public void info(final String message, final AuditLogSpec auditLogSpec, final String... args) {
59 public void warn(final String message, final AuditLogSpec auditLogSpec, final OptionalLogSpec optionalLogSpec,
60 final String... args) {
65 public void warn(final String message, final AuditLogSpec auditLogSpec, final String... args) {
70 public void error(final String message, final AuditLogSpec auditLogSpec, final OptionalLogSpec optionalLogSpec,
71 final String... args) {
76 public void error(final String message, final AuditLogSpec auditLogSpec, final String... args) {
81 public void fatal(final String message, final AuditLogSpec auditLogSpec, final OptionalLogSpec optionalLogSpec,
82 final String... args) {
87 public void fatal(final String message, final AuditLogSpec auditLogSpec, final String... args) {