aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/logging.cpp
blob: dbfc292e5286319eca6e981578b694f8542af251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "pch.h"
#include "logging.h"
#include "context.h"
#include "dedicated.h"
#include "sourceconsole.h"
#include <vector>
#include <iostream>
#include <chrono>

void InitialiseLogging()
{
	AllocConsole();
	freopen("CONOUT$", "w", stdout);

	spdlog::default_logger()->set_pattern("[%H:%M:%S] [%l] %v");
}