- java.lang.Object
-
- br.com.objectos.logging.Events
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Event0debug(Class<?> source, String key)Creates a new DEBUG log event.static <T1> Event1<T1>debug(Class<?> source, String key, TypeHint<T1> t1)Creates a new DEBUG log event requiring one argument of typeT1given by the type hintt1.static <T1,T2>
Event2<T1,T2>debug(Class<?> source, String key, TypeHint<T1> t1, TypeHint<T2> t2)Creates a new DEBUG log event requiring two arguments of typesT1andT2given by the type hintst1andt2respectively.static <T1,T2,T3>
Event3<T1,T2,T3>debug(Class<?> source, String key, TypeHint<T1> t1, TypeHint<T2> t2, TypeHint<T3> t3)Creates a new DEBUG log event requiring two arguments of typesT1,T2andT3given by the type hintst1,t2andt3respectively.static <T1> Event1<T1>debug(Class<?> source, String key, Class<T1> t1)Creates a new DEBUG log event requiring one argument of typeT1given by classt1.static <T1,T2>
Event2<T1,T2>debug(Class<?> source, String key, Class<T1> t1, Class<T2> t2)Creates a new DEBUG log event requiring two arguments of typesT1andT2given by classest1andt2respectively.static <T1,T2,T3>
Event3<T1,T2,T3>debug(Class<?> source, String key, Class<T1> t1, Class<T2> t2, Class<T3> t3)Creates a new DEBUG log event requiring three arguments of typesT1,T2andT3given by classest1,t2andt3respectively.static Event0error(Class<?> source, String key)Creates a new ERROR log event.static <T1> Event1<T1>error(Class<?> source, String key, TypeHint<T1> t1)Creates a new ERROR log event requiring one argument of typeT1given by the type hintt1.static <T1,T2>
Event2<T1,T2>error(Class<?> source, String key, TypeHint<T1> t1, TypeHint<T2> t2)Creates a new ERROR log event requiring two arguments of typesT1andT2given by the type hintst1andt2respectively.static <T1,T2,T3>
Event3<T1,T2,T3>error(Class<?> source, String key, TypeHint<T1> t1, TypeHint<T2> t2, TypeHint<T3> t3)Creates a new ERROR log event requiring two arguments of typesT1,T2andT3given by the type hintst1,t2andt3respectively.static <T1> Event1<T1>error(Class<?> source, String key, Class<T1> t1)Creates a new ERROR log event requiring one argument of typeT1given by classt1.static <T1,T2>
Event2<T1,T2>error(Class<?> source, String key, Class<T1> t1, Class<T2> t2)Creates a new ERROR log event requiring two arguments of typesT1andT2given by classest1andt2respectively.static <T1,T2,T3>
Event3<T1,T2,T3>error(Class<?> source, String key, Class<T1> t1, Class<T2> t2, Class<T3> t3)Creates a new ERROR log event requiring three arguments of typesT1,T2andT3given by classest1,t2andt3respectively.static Event0info(Class<?> source, String key)Creates a new INFO log event.static <T1> Event1<T1>info(Class<?> source, String key, TypeHint<T1> t1)Creates a new INFO log event requiring one argument of typeT1given by the type hintt1.static <T1,T2>
Event2<T1,T2>info(Class<?> source, String key, TypeHint<T1> t1, TypeHint<T2> t2)Creates a new INFO log event requiring two arguments of typesT1andT2given by the type hintst1andt2respectively.static <T1,T2,T3>
Event3<T1,T2,T3>info(Class<?> source, String key, TypeHint<T1> t1, TypeHint<T2> t2, TypeHint<T3> t3)Creates a new INFO log event requiring two arguments of typesT1,T2andT3given by the type hintst1,t2andt3respectively.static <T1> Event1<T1>info(Class<?> source, String key, Class<T1> t1)Creates a new INFO log event requiring one argument of typeT1given by classt1.static <T1,T2>
Event2<T1,T2>info(Class<?> source, String key, Class<T1> t1, Class<T2> t2)Creates a new INFO log event requiring two arguments of typesT1andT2given by classest1andt2respectively.static <T1,T2,T3>
Event3<T1,T2,T3>info(Class<?> source, String key, Class<T1> t1, Class<T2> t2, Class<T3> t3)Creates a new INFO log event requiring three arguments of typesT1,T2andT3given by classest1,t2andt3respectively.static Event0trace(Class<?> source, String key)Creates a new TRACE log event.static <T1> Event1<T1>trace(Class<?> source, String key, TypeHint<T1> t1)Creates a new TRACE log event requiring one argument of typeT1given by the type hintt1.static <T1,T2>
Event2<T1,T2>trace(Class<?> source, String key, TypeHint<T1> t1, TypeHint<T2> t2)Creates a new TRACE log event requiring two arguments of typesT1andT2given by the type hintst1andt2respectively.static <T1,T2,T3>
Event3<T1,T2,T3>trace(Class<?> source, String key, TypeHint<T1> t1, TypeHint<T2> t2, TypeHint<T3> t3)Creates a new TRACE log event requiring two arguments of typesT1,T2andT3given by the type hintst1,t2andt3respectively.static <T1> Event1<T1>trace(Class<?> source, String key, Class<T1> t1)Creates a new TRACE log event requiring one argument of typeT1given by classt1.static <T1,T2>
Event2<T1,T2>trace(Class<?> source, String key, Class<T1> t1, Class<T2> t2)Creates a new TRACE log event requiring two arguments of typesT1andT2given by classest1andt2respectively.static <T1,T2,T3>
Event3<T1,T2,T3>trace(Class<?> source, String key, Class<T1> t1, Class<T2> t2, Class<T3> t3)Creates a new TRACE log event requiring three arguments of typesT1,T2andT3given by classest1,t2andt3respectively.static Event0warn(Class<?> source, String key)Creates a new WARN log event.static <T1> Event1<T1>warn(Class<?> source, String key, TypeHint<T1> t1)Creates a new WARN log event requiring one argument of typeT1given by the type hintt1.static <T1,T2>
Event2<T1,T2>warn(Class<?> source, String key, TypeHint<T1> t1, TypeHint<T2> t2)Creates a new WARN log event requiring two arguments of typesT1andT2given by the type hintst1andt2respectively.static <T1,T2,T3>
Event3<T1,T2,T3>warn(Class<?> source, String key, TypeHint<T1> t1, TypeHint<T2> t2, TypeHint<T3> t3)Creates a new WARN log event requiring two arguments of typesT1,T2andT3given by the type hintst1,t2andt3respectively.static <T1> Event1<T1>warn(Class<?> source, String key, Class<T1> t1)Creates a new WARN log event requiring one argument of typeT1given by classt1.static <T1,T2>
Event2<T1,T2>warn(Class<?> source, String key, Class<T1> t1, Class<T2> t2)Creates a new WARN log event requiring two arguments of typesT1andT2given by classest1andt2respectively.static <T1,T2,T3>
Event3<T1,T2,T3>warn(Class<?> source, String key, Class<T1> t1, Class<T2> t2, Class<T3> t3)Creates a new WARN log event requiring three arguments of typesT1,T2andT3given by classest1,t2andt3respectively.
-
-
-
Method Detail
-
debug
public static Event0 debug(Class<?> source, String key)
Creates a new DEBUG log event.- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclass- Returns:
- a new DEBUG log event
-
debug
public static <T1> Event1<T1> debug(Class<?> source, String key, Class<T1> t1)
Creates a new DEBUG log event requiring one argument of typeT1given by classt1.- Type Parameters:
T1- the type of the log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the class of the event type argument- Returns:
- a new DEBUG log event
-
debug
public static <T1,T2> Event2<T1,T2> debug(Class<?> source, String key, Class<T1> t1, Class<T2> t2)
Creates a new DEBUG log event requiring two arguments of typesT1andT2given by classest1andt2respectively.- Type Parameters:
T1- the type of the first log argumentT2- the type of the second log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the class of the first event type parametert2- the class of the second event type parameter- Returns:
- a new DEBUG log event
-
debug
public static <T1,T2,T3> Event3<T1,T2,T3> debug(Class<?> source, String key, Class<T1> t1, Class<T2> t2, Class<T3> t3)
Creates a new DEBUG log event requiring three arguments of typesT1,T2andT3given by classest1,t2andt3respectively.- Type Parameters:
T1- the type of the first log argumentT2- the type of the second log argumentT3- the type of the third log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the class of the first event type parametert2- the class of the second event type parametert3- the class of the third event type parameter- Returns:
- a new DEBUG log event
-
debug
public static <T1> Event1<T1> debug(Class<?> source, String key, TypeHint<T1> t1)
Creates a new DEBUG log event requiring one argument of typeT1given by the type hintt1.- Type Parameters:
T1- the type of the log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the type hint of the log argument- Returns:
- a new DEBUG log event
- See Also:
TypeHint
-
debug
public static <T1,T2> Event2<T1,T2> debug(Class<?> source, String key, TypeHint<T1> t1, TypeHint<T2> t2)
Creates a new DEBUG log event requiring two arguments of typesT1andT2given by the type hintst1andt2respectively.- Type Parameters:
T1- the type of the first log argumentT2- the type of the second log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the type hint of the first log argumentt2- the type hint of the second log argument- Returns:
- a new DEBUG log event
-
debug
public static <T1,T2,T3> Event3<T1,T2,T3> debug(Class<?> source, String key, TypeHint<T1> t1, TypeHint<T2> t2, TypeHint<T3> t3)
Creates a new DEBUG log event requiring two arguments of typesT1,T2andT3given by the type hintst1,t2andt3respectively.- Type Parameters:
T1- the type of the first log argumentT2- the type of the second log argumentT3- the type of the third log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the type hint of the first log argumentt2- the type hint of the second log argumentt3- the type hint of the third log argument- Returns:
- a new DEBUG log event
-
error
public static Event0 error(Class<?> source, String key)
Creates a new ERROR log event.- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclass- Returns:
- a new ERROR log event
-
error
public static <T1> Event1<T1> error(Class<?> source, String key, Class<T1> t1)
Creates a new ERROR log event requiring one argument of typeT1given by classt1.- Type Parameters:
T1- the type of the log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the class of the event type argument- Returns:
- a new ERROR log event
-
error
public static <T1,T2> Event2<T1,T2> error(Class<?> source, String key, Class<T1> t1, Class<T2> t2)
Creates a new ERROR log event requiring two arguments of typesT1andT2given by classest1andt2respectively.- Type Parameters:
T1- the type of the first log argumentT2- the type of the second log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the class of the first event type parametert2- the class of the second event type parameter- Returns:
- a new ERROR log event
-
error
public static <T1,T2,T3> Event3<T1,T2,T3> error(Class<?> source, String key, Class<T1> t1, Class<T2> t2, Class<T3> t3)
Creates a new ERROR log event requiring three arguments of typesT1,T2andT3given by classest1,t2andt3respectively.- Type Parameters:
T1- the type of the first log argumentT2- the type of the second log argumentT3- the type of the third log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the class of the first event type parametert2- the class of the second event type parametert3- the class of the third event type parameter- Returns:
- a new ERROR log event
-
error
public static <T1> Event1<T1> error(Class<?> source, String key, TypeHint<T1> t1)
Creates a new ERROR log event requiring one argument of typeT1given by the type hintt1.- Type Parameters:
T1- the type of the log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the type hint of the log argument- Returns:
- a new ERROR log event
- See Also:
TypeHint
-
error
public static <T1,T2> Event2<T1,T2> error(Class<?> source, String key, TypeHint<T1> t1, TypeHint<T2> t2)
Creates a new ERROR log event requiring two arguments of typesT1andT2given by the type hintst1andt2respectively.- Type Parameters:
T1- the type of the first log argumentT2- the type of the second log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the type hint of the first log argumentt2- the type hint of the second log argument- Returns:
- a new ERROR log event
-
error
public static <T1,T2,T3> Event3<T1,T2,T3> error(Class<?> source, String key, TypeHint<T1> t1, TypeHint<T2> t2, TypeHint<T3> t3)
Creates a new ERROR log event requiring two arguments of typesT1,T2andT3given by the type hintst1,t2andt3respectively.- Type Parameters:
T1- the type of the first log argumentT2- the type of the second log argumentT3- the type of the third log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the type hint of the first log argumentt2- the type hint of the second log argumentt3- the type hint of the third log argument- Returns:
- a new ERROR log event
-
info
public static Event0 info(Class<?> source, String key)
Creates a new INFO log event.- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclass- Returns:
- a new INFO log event
-
info
public static <T1> Event1<T1> info(Class<?> source, String key, Class<T1> t1)
Creates a new INFO log event requiring one argument of typeT1given by classt1.- Type Parameters:
T1- the type of the log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the class of the event type argument- Returns:
- a new INFO log event
-
info
public static <T1,T2> Event2<T1,T2> info(Class<?> source, String key, Class<T1> t1, Class<T2> t2)
Creates a new INFO log event requiring two arguments of typesT1andT2given by classest1andt2respectively.- Type Parameters:
T1- the type of the first log argumentT2- the type of the second log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the class of the first event type parametert2- the class of the second event type parameter- Returns:
- a new INFO log event
-
info
public static <T1,T2,T3> Event3<T1,T2,T3> info(Class<?> source, String key, Class<T1> t1, Class<T2> t2, Class<T3> t3)
Creates a new INFO log event requiring three arguments of typesT1,T2andT3given by classest1,t2andt3respectively.- Type Parameters:
T1- the type of the first log argumentT2- the type of the second log argumentT3- the type of the third log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the class of the first event type parametert2- the class of the second event type parametert3- the class of the third event type parameter- Returns:
- a new INFO log event
-
info
public static <T1> Event1<T1> info(Class<?> source, String key, TypeHint<T1> t1)
Creates a new INFO log event requiring one argument of typeT1given by the type hintt1.- Type Parameters:
T1- the type of the log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the type hint of the log argument- Returns:
- a new INFO log event
- See Also:
TypeHint
-
info
public static <T1,T2> Event2<T1,T2> info(Class<?> source, String key, TypeHint<T1> t1, TypeHint<T2> t2)
Creates a new INFO log event requiring two arguments of typesT1andT2given by the type hintst1andt2respectively.- Type Parameters:
T1- the type of the first log argumentT2- the type of the second log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the type hint of the first log argumentt2- the type hint of the second log argument- Returns:
- a new INFO log event
-
info
public static <T1,T2,T3> Event3<T1,T2,T3> info(Class<?> source, String key, TypeHint<T1> t1, TypeHint<T2> t2, TypeHint<T3> t3)
Creates a new INFO log event requiring two arguments of typesT1,T2andT3given by the type hintst1,t2andt3respectively.- Type Parameters:
T1- the type of the first log argumentT2- the type of the second log argumentT3- the type of the third log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the type hint of the first log argumentt2- the type hint of the second log argumentt3- the type hint of the third log argument- Returns:
- a new INFO log event
-
trace
public static Event0 trace(Class<?> source, String key)
Creates a new TRACE log event.- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclass- Returns:
- a new TRACE log event
-
trace
public static <T1> Event1<T1> trace(Class<?> source, String key, Class<T1> t1)
Creates a new TRACE log event requiring one argument of typeT1given by classt1.- Type Parameters:
T1- the type of the log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the class of the event type argument- Returns:
- a new TRACE log event
-
trace
public static <T1,T2> Event2<T1,T2> trace(Class<?> source, String key, Class<T1> t1, Class<T2> t2)
Creates a new TRACE log event requiring two arguments of typesT1andT2given by classest1andt2respectively.- Type Parameters:
T1- the type of the first log argumentT2- the type of the second log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the class of the first event type parametert2- the class of the second event type parameter- Returns:
- a new TRACE log event
-
trace
public static <T1,T2,T3> Event3<T1,T2,T3> trace(Class<?> source, String key, Class<T1> t1, Class<T2> t2, Class<T3> t3)
Creates a new TRACE log event requiring three arguments of typesT1,T2andT3given by classest1,t2andt3respectively.- Type Parameters:
T1- the type of the first log argumentT2- the type of the second log argumentT3- the type of the third log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the class of the first event type parametert2- the class of the second event type parametert3- the class of the third event type parameter- Returns:
- a new TRACE log event
-
trace
public static <T1> Event1<T1> trace(Class<?> source, String key, TypeHint<T1> t1)
Creates a new TRACE log event requiring one argument of typeT1given by the type hintt1.- Type Parameters:
T1- the type of the log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the type hint of the log argument- Returns:
- a new TRACE log event
- See Also:
TypeHint
-
trace
public static <T1,T2> Event2<T1,T2> trace(Class<?> source, String key, TypeHint<T1> t1, TypeHint<T2> t2)
Creates a new TRACE log event requiring two arguments of typesT1andT2given by the type hintst1andt2respectively.- Type Parameters:
T1- the type of the first log argumentT2- the type of the second log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the type hint of the first log argumentt2- the type hint of the second log argument- Returns:
- a new TRACE log event
-
trace
public static <T1,T2,T3> Event3<T1,T2,T3> trace(Class<?> source, String key, TypeHint<T1> t1, TypeHint<T2> t2, TypeHint<T3> t3)
Creates a new TRACE log event requiring two arguments of typesT1,T2andT3given by the type hintst1,t2andt3respectively.- Type Parameters:
T1- the type of the first log argumentT2- the type of the second log argumentT3- the type of the third log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the type hint of the first log argumentt2- the type hint of the second log argumentt3- the type hint of the third log argument- Returns:
- a new TRACE log event
-
warn
public static Event0 warn(Class<?> source, String key)
Creates a new WARN log event.- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclass- Returns:
- a new WARN log event
-
warn
public static <T1> Event1<T1> warn(Class<?> source, String key, Class<T1> t1)
Creates a new WARN log event requiring one argument of typeT1given by classt1.- Type Parameters:
T1- the type of the log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the class of the event type argument- Returns:
- a new WARN log event
-
warn
public static <T1,T2> Event2<T1,T2> warn(Class<?> source, String key, Class<T1> t1, Class<T2> t2)
Creates a new WARN log event requiring two arguments of typesT1andT2given by classest1andt2respectively.- Type Parameters:
T1- the type of the first log argumentT2- the type of the second log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the class of the first event type parametert2- the class of the second event type parameter- Returns:
- a new WARN log event
-
warn
public static <T1,T2,T3> Event3<T1,T2,T3> warn(Class<?> source, String key, Class<T1> t1, Class<T2> t2, Class<T3> t3)
Creates a new WARN log event requiring three arguments of typesT1,T2andT3given by classest1,t2andt3respectively.- Type Parameters:
T1- the type of the first log argumentT2- the type of the second log argumentT3- the type of the third log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the class of the first event type parametert2- the class of the second event type parametert3- the class of the third event type parameter- Returns:
- a new WARN log event
-
warn
public static <T1> Event1<T1> warn(Class<?> source, String key, TypeHint<T1> t1)
Creates a new WARN log event requiring one argument of typeT1given by the type hintt1.- Type Parameters:
T1- the type of the log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the type hint of the log argument- Returns:
- a new WARN log event
- See Also:
TypeHint
-
warn
public static <T1,T2> Event2<T1,T2> warn(Class<?> source, String key, TypeHint<T1> t1, TypeHint<T2> t2)
Creates a new WARN log event requiring two arguments of typesT1andT2given by the type hintst1andt2respectively.- Type Parameters:
T1- the type of the first log argumentT2- the type of the second log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the type hint of the first log argumentt2- the type hint of the second log argument- Returns:
- a new WARN log event
-
warn
public static <T1,T2,T3> Event3<T1,T2,T3> warn(Class<?> source, String key, TypeHint<T1> t1, TypeHint<T2> t2, TypeHint<T3> t3)
Creates a new WARN log event requiring two arguments of typesT1,T2andT3given by the type hintst1,t2andt3respectively.- Type Parameters:
T1- the type of the first log argumentT2- the type of the second log argumentT3- the type of the third log argument- Parameters:
source- the class this event is bound tokey- a key that uniquely identifies this event within the givensourceclasst1- the type hint of the first log argumentt2- the type hint of the second log argumentt3- the type hint of the third log argument- Returns:
- a new WARN log event
-
-