easy-log

try to help record the log

License

License

Categories

Categories

Spring Boot Container Microservices
GroupId

GroupId

com.github.imzz
ArtifactId

ArtifactId

spring-boot-easylog-stater
Last Version

Last Version

1.1
Release Date

Release Date

Type

Type

jar
Description

Description

easy-log
try to help record the log
Source Code Management

Source Code Management

https://github.com/imzz/springboot-easylog-stater.git

Download spring-boot-easylog-stater

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.imzz/spring-boot-easylog-stater/ -->
<dependency>
    <groupId>com.github.imzz</groupId>
    <artifactId>spring-boot-easylog-stater</artifactId>
    <version>1.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.imzz/spring-boot-easylog-stater/
implementation 'com.github.imzz:spring-boot-easylog-stater:1.1'
// https://jarcasting.com/artifacts/com.github.imzz/spring-boot-easylog-stater/
implementation ("com.github.imzz:spring-boot-easylog-stater:1.1")
'com.github.imzz:spring-boot-easylog-stater:jar:1.1'
<dependency org="com.github.imzz" name="spring-boot-easylog-stater" rev="1.1">
  <artifact name="spring-boot-easylog-stater" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.imzz', module='spring-boot-easylog-stater', version='1.1')
)
libraryDependencies += "com.github.imzz" % "spring-boot-easylog-stater" % "1.1"
[com.github.imzz/spring-boot-easylog-stater "1.1"]

Dependencies

compile (5)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-aop jar
org.springframework.boot : spring-boot-starter-web jar
com.alibaba : fastjson jar 1.2.47
org.springframework.boot : spring-boot-configuration-processor jar
org.springframework.boot : spring-boot-autoconfigure jar

test (1)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-test jar

Project Modules

There are no modules declared in this project.

springboot-easylog-stater

帮助记录springboot项目日志

使用方法引入jar包 在需要添加日志的方法上添加 @EasyLog注解

@EasyLog
public String test1(String name,String id){
	return "test1";
}

#日志格式

easylog -----2018-11-08 16:10:10--------requestUrl : /test1------------invokeClasss : com.example.demo.TestService-------methodName : test1--------- params : ["params1",null]

#中央仓库地址

<dependency>
<groupId>com.github.imzz</groupId>
<artifactId>spring-boot-easylog-stater</artifactId>
<version>1.0</version>
</dependency>

Versions

Version
1.1
1.0