Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:documentation:devguide:core:logger [2016/10/04 10:42] carolina.santos [Configuration File] |
wiki:documentation:devguide:core:logger [2016/10/04 13:58] (current) carolina.santos [References] |
||
---|---|---|---|
Line 14: | Line 14: | ||
namespace core | namespace core | ||
{ | { | ||
- | class TECOREEXPORT Logger | + | class Logger |
{ | { | ||
/*! | /*! | ||
Line 165: | Line 165: | ||
Where: | Where: | ||
- | * ''filename'': file where the log messages will be registered. | + | * ''filename'': file where messages will be logged. |
The default logger of TerraLib consists of 6 macros that can be used to categorize messages in relevant levels: | The default logger of TerraLib consists of 6 macros that can be used to categorize messages in relevant levels: | ||
Line 203: | Line 203: | ||
* ''Channel'': logger name. | * ''Channel'': logger name. | ||
* ''Message'': message content. | * ''Message'': message content. | ||
- | * ''Process'': process that registered the message. | + | * ''Process'': process that logged the message. |
* ''ProcessID'': process id. | * ''ProcessID'': process id. | ||
- | * ''ThreadID'': id of the thread that registered the message. | + | * ''ThreadID'': id of the thread that logged the message. |
The attributes are used as follow: ''[%TimeStamp%] %Severity%: %Message%'' | The attributes are used as follow: ''[%TimeStamp%] %Severity%: %Message%'' | ||
Line 251: | Line 251: | ||
</code> | </code> | ||
- | ===== References ===== | + | ===== Additional References ===== |
* [[https://tools.ietf.org/html/rfc5424 | The Syslog Protocol]] | * [[https://tools.ietf.org/html/rfc5424 | The Syslog Protocol]] |