All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.minlia.rocket.loggable.LoggerFormats Maven / Gradle / Ivy

There is a newer version: 2.0.4.1.RELEASE
Show newest version
package com.minlia.rocket.loggable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 

Logger message formats that can be replaced with the defaults.

There are list of * placeholder's that can be used:
  • ${method.name} - method name
  • ${method.args} - * method arguments
  • ${method.result} - method results
  • ${method.duration} - method * runtime duration
  • ${method.warn.duration} - method runtime warning duration to be * displayed
  • ${error.class.name} - exception class name
  • ${error.message} - * exception message
  • ${error.source.class.name} - exception source class name
  • *
  • ${error.source.line} - exception source line number that cause the exception
* * @author will */ @Getter @Setter @AllArgsConstructor @NoArgsConstructor @Builder public class LoggerFormats { private String enter; private String warnBefore; private String warnAfter; private String after; private String error; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy