@ProviderType public abstract class LoggerFactory extends Object
| Constructor and Description |
|---|
LoggerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Logger |
getLogger(Class<?> clazz)
This method gets a logger from the underlying logging implementation.
|
static Logger |
getLogger(String name)
This method gets a logger from the underlying logging implementation.
|
abstract Logger |
getLoggerImplementation(String name) |
public static final Logger getLogger(String name)
name - The name associated with the logger.public static final Logger getLogger(Class<?> clazz)
clazz - The class associated with the logger.Copyright © 2020 Liferay, Inc.. All rights reserved.