struct
#include <core/log.hpp>
Timestamp A timestamp used to identify when a logging message was written.
Public static functions
Public functions
- auto string() const -> std::string
- Returns a string representation for the timestamp, containing hours, minutes, seconds and milliseconds.
Public variables
- int64_t timestamp
- Milliseconds since the UNIX epoch.
Function documentation
std::string cubos:: core:: Logger:: Timestamp:: string() const
Returns a string representation for the timestamp, containing hours, minutes, seconds and milliseconds.
Returns | String representation. |
---|