All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dell.cpsd.rcm.evaluation.client.log.RFESLoggingManager Maven / Gradle / Ivy

Go to download

This repository contains the source code for the rcm evaluation service API. Use this repository to share contracts between services so you can create POJOs using defined JSON schemas and to create message transformers for the RCM evaluation service.

The newest version!
/**
 * Copyright © 2017 Dell Inc. or its subsidiaries.  All Rights Reserved.
 * Dell EMC Confidential/Proprietary Information
 */

package com.dell.cpsd.rcm.evaluation.client.log;

import java.util.ResourceBundle;

import com.dell.cpsd.common.logging.LoggingManager;
import com.dell.cpsd.common.logging.ILogger;

import com.dell.cpsd.rcm.evaluation.client.i18n.RFESMessageBundle;

/**
 * This is the logging manager for the service client.
 * 
 * 

* Copyright © 2017 Dell Inc. or its subsidiaries. All Rights Reserved. * Dell EMC Confidential/Proprietary Information *

* * @version 1.0 * * @since SINCE-TBD */ public class RFESLoggingManager { /* * The message resource bundle used for logging. */ private static ResourceBundle MESSAGE_BUNDLE = ResourceBundle.getBundle(RFESMessageBundle.class.getName()); private static LoggingManager LOGGING_MANAGER = new LoggingManager(); /** * RFESLoggingManager constructor. * * @since SINCE-TBD */ public RFESLoggingManager() { super(); } /** * This returns an ILogger using the name of the specified * class as the logger name. * * @param clazz The Class used for the logger. * * @return The ILogger with the name of the class. * * @throws IllegalArgumentException Thrown if the class is null. * * @since SINCE-TBD */ public static ILogger getLogger(Class clazz) { return LOGGING_MANAGER.getLogger(clazz, MESSAGE_BUNDLE); } /** * This returns an ILogger using the specified name as the * logger name. * * @param name The name of the logger. * * @return The ILogger with the specified name. * * @since SINCE-TBD */ public static ILogger getLogger(String name) { return LOGGING_MANAGER.getLogger(name, MESSAGE_BUNDLE); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy