net.sourceforge.acelogger.location.gatherer
Interface LocationGatherer

All Superinterfaces:
Identifiable
All Known Implementing Classes:
BaseLocationGatherer, EmptyLocationGatherer, FileAndLineLocationGatherer, FullLocationGatherer

public interface LocationGatherer
extends Identifiable

Obtains the location of a log call.

Since:
1.0.0
Version:
1.0.0
Author:
Zardi (https://sourceforge.net/users/daniel_zardi)

Method Summary
 LogEventLocation getCallLocation()
          Obtains the log call location, such as the package, class and method names.
 LogEventLocation getCallLocation(Thread currentThread)
          Obtains the log call location, such as the package, class and method names.
 
Methods inherited from interface net.sourceforge.acelogger.Identifiable
getIdentifier
 

Method Detail

getCallLocation

LogEventLocation getCallLocation()
Obtains the log call location, such as the package, class and method names.

Returns:
A logCallLocation with information of the caller location.
Since:
1.0.0

getCallLocation

LogEventLocation getCallLocation(Thread currentThread)
Obtains the log call location, such as the package, class and method names.

Parameters:
currentThread - The thread that originated the call.
Returns:
A logCallLocation with information of the caller location.
Since:
1.0.0


Copyright © 2007-2010 The AceLogger Team. All Rights Reserved.