2 * Copyright (c) 2015 Brocade Communications Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.aaa.shiro.accounting;
10 import org.slf4j.Logger;
11 import org.slf4j.LoggerFactory;
14 * Accounter is a common place to output AAA messages. Use this class through
15 * invoking <code>Logger.output("message")</code>.
17 * @author Ryan Goulding (ryandgoulding@gmail.com)
19 public class Accounter {
21 private static final Logger LOG = LoggerFactory.getLogger(Accounter.class);
24 * Essentially makes Accounter a singleton, avoiding the verbosity of
25 * <code>Accounter.getInstance().output("message")</code>.
31 * Account for a particular <code>message</code>
33 * @param message A message for the aggregated AAA log.
35 public static void output(final String message) {