wxWidgets: wxLogRecordInfo Class Reference

| Version: 3.1.5

Loading...
Searching...
No Matches
Public Attributes | List of all members
wxLogRecordInfo Class Reference

`#include </cygdrive/c/Users/Hamis/Cygwin-packaging/wxWidgets3.1/wxWidgets3.1-3.1.5-4.x86_64/src/wxWidgets-3.1.5/interface/wx/log.h>`

## Detailed Description

Information about a log record (unit of the log output).

## Public Attributes
const char * | filename
| The name of the file where this log message was generated.
int | line
| The line number at which this log message was generated.
const char * | func
| The name of the function where the log record was generated.
wxLongLong_t | timestampMS
| Time in milliseconds since Epoch when the log message was generated.
time_t | timestamp
| Time when the log message was generated.
wxThreadIdType | threadId
| Id of the thread in which the message was generated.

## Member Data Documentation

## ◆ filename

const char* wxLogRecordInfo::filename

The name of the file where this log message was generated.

## ◆ func

const char* wxLogRecordInfo::func

The name of the function where the log record was generated.

This field may be NULL if the compiler doesn't support `__FUNCTION__` (but most modern compilers do).

## ◆ line

int wxLogRecordInfo::line

The line number at which this log message was generated.

## ◆ threadId

wxThreadIdType wxLogRecordInfo::threadId

Id of the thread in which the message was generated.

This field is only available if wxWidgets was built with threads support (`wxUSE_THREADS == 1`).

See also
  wxThread::GetCurrentId()

## ◆ timestamp

time_t wxLogRecordInfo::timestamp

Time when the log message was generated.

Deprecated
  Please use timestampMS instead.

## ◆ timestampMS

wxLongLong_t wxLogRecordInfo::timestampMS

Time in milliseconds since Epoch when the log message was generated.

Since
  3.1.5