libcaf  0.16.0
Public Member Functions | Public Attributes | List of all members
caf::logger::event Struct Reference

Encapsulates a single logging event. More...

#include <logger.hpp>

Inherits singly_linked< event >.

Public Member Functions

 event (int lvl, const char *cat, const char *fun, const char *fn, int line, std::string msg, std::thread::id t, actor_id a, timestamp ts)
 

Public Attributes

int level
 Level/priority of the event.
 
const char * category_name
 Name of the category (component) logging the event.
 
const char * pretty_fun
 Name of the current context as reported by __PRETTY_FUNCTION__.
 
const char * file_name
 Name of the current file.
 
int line_number
 Current line in the file.
 
std::string message
 User-provided message.
 
std::thread::id tid
 Thread ID of the caller.
 
actor_id aid
 Actor ID of the caller.
 
timestamp tstamp
 Timestamp of the event.
 

Detailed Description

Encapsulates a single logging event.


The documentation for this struct was generated from the following file: