Create a Logger wrapping the given underlying
org.slf4j.Logger
.
Create a Logger wrapping the given underlying
org.slf4j.Logger
.
an org.slf4j.Logger
Logger logger = Logger.getLogger(LoggerFactory.getLogger("name"));
(Since version 2020-09-30) Use com.twitter.util.logging.Logger
Create a Logger named for the given class.
Create a Logger named for the given class.
class to use for naming the underlying slf4j.Logger.
Logger logger = Logger.getLogger(classOf[MyClass]);
(Since version 2020-09-30) Use com.twitter.util.logging.Logger
Create a Logger for the given name.
Create a Logger for the given name.
name of the underlying slf4j.Logger
.
Logger logger = Logger.getLogger("name");
(Since version 2020-09-30) Use com.twitter.util.logging.Logger
For Java usability.
(Since version 2020-09-30) Use com.twitter.util.logging.Logger
Scala users see com.twitter.util.logging.Logger