/**
 * Copyright (c) Anton Johansson <antoon.johansson@gmail.com>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.antonjohansson.lprs.controller.token;

import com.antonjohansson.lprs.model.User;

/**
 * {@link ITokenSender} implementation that prints the token to the console.
 */
class ConsoleTokenSender implements ITokenSender
{
    @Override
    public void send(User user, String token)
    {
        System.out.println("Generated token '" + token + "'.");
    }
}

@@ -672,16 +672,74 @@
 token;%0A%0A
+import org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0A%0A
 import c
@@ -773,16 +773,16 @@
 l.User;%0A
-
 %0A/**%0A * 
@@ -910,16 +910,109 @@
 ender%0A%7B%0A
+    private static final Logger LOGGER = LoggerFactory.getLogger(ConsoleTokenSender.class);%0A%0A
     @Ove
@@ -1081,26 +1081,19 @@
     
-System.out.println
+LOGGER.info
 (%22Ge
@@ -1111,24 +1111,19 @@
 en '
-%22 +
+%7B%7D'%22,
  token
- + %22'.%22
 );%0A 

Use logger instead of system out