25 lines
576 B
C++
25 lines
576 B
C++
/*
|
|
Copyright (c) 2013 IOnU Security Inc. All rights reserved
|
|
Created November 2013 by Kendrick Webster
|
|
|
|
K2Daemon/Version.cpp - implementation for Version.h
|
|
*/
|
|
#include "global.h"
|
|
#include "Version.h"
|
|
|
|
namespace Version
|
|
{
|
|
namespace Data
|
|
{
|
|
constexpr const char* build_date = __DATE__;
|
|
constexpr const char* build_time = __TIME__;
|
|
}
|
|
}
|
|
|
|
void Version::Log(void)
|
|
{
|
|
using namespace Data;
|
|
logprintf(Log::informational, "%s version %d.%d.%d (%s) built %s %s",
|
|
name, major, minor, step, timestamp, build_date, build_time);
|
|
}
|