WPILibC++  2019.3.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
nt::LogMessage Class Reference

NetworkTables log message. More...

#include <ntcore_cpp.h>

Public Member Functions

 LogMessage (NT_Logger logger_, unsigned int level_, const char *filename_, unsigned int line_, StringRef message_)
 

Public Attributes

NT_Logger logger
 The logger that generated the message. More...
 
unsigned int level
 Log level of the message. More...
 
const char * filename
 The filename of the source file that generated the message. More...
 
unsigned int line
 The line number in the source file that generated the message. More...
 
std::string message
 The message. More...
 

Friends

void swap (LogMessage &first, LogMessage &second)
 

Detailed Description

NetworkTables log message.

Member Data Documentation

const char* nt::LogMessage::filename

The filename of the source file that generated the message.

unsigned int nt::LogMessage::level

Log level of the message.

See NT_LogLevel.

unsigned int nt::LogMessage::line

The line number in the source file that generated the message.

NT_Logger nt::LogMessage::logger

The logger that generated the message.

std::string nt::LogMessage::message

The message.


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