Example usage for org.springframework.messaging.simp SimpLogging forLog

List of usage examples for org.springframework.messaging.simp SimpLogging forLog

Introduction

In this page you can find the example usage for org.springframework.messaging.simp SimpLogging forLog.

Prototype

public static Log forLog(Log primaryLogger) 

Source Link

Document

Wrap the given primary logger with a composite logger that delegates to either the primary or to the shared fallback logger "org.springframework.web.HttpLogging", if the primary is not enabled.

Usage

From source file:org.springframework.messaging.simp.annotation.support.SimpAnnotationMethodMessageHandler.java

@Override
protected Log getReturnValueHandlerLogger() {
    return SimpLogging.forLog(HandlerMethodReturnValueHandlerComposite.defaultLogger);
}

From source file:org.springframework.messaging.simp.annotation.support.SimpAnnotationMethodMessageHandler.java

@Override
protected Log getHandlerMethodLogger() {
    return SimpLogging.forLog(HandlerMethod.defaultLogger);
}