com.hazelcast.logging.Logger Java Examples

The following examples show how to use com.hazelcast.logging.Logger. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TracingUtils.java    From snowcast with Apache License 2.0 5 votes vote down vote up
public static Tracer tracer(Class<?> type) {
    if (!SnowcastConstants.LOGGING_ENABLED) {
        return NO_OP_TRACER;
    }
    ILogger logger = Logger.getLogger(type);
    return new TracerImpl(logger);
}