Reece
e5e36bd887
[*] Fix deadlock in the async subsystem (NoLockShutdown vs Shutdown in exception handler) [+] Added ProccessMap NT variant [+] Added ToolHelp image profiling [*] Improved exception awareness [*] Delegated SpawnThread to isolated TU, ready for reuse for RunAs and XNU Open - now with horrible evil alloc that could fail [+] Added header for future api 'UtilRun' [*] Improve NT core detection [*] Changed small affinity bitmap to AuUInt64 instead of AuUInt32 [+] Added data structure to hold cpuids/affinity masks [+] Implemented logger sinks [+] Implemented logger glue logic [*] Began migrating older loggers to sink-based default devices [*] Minor refactors [*] Improved internal exception discarding, not yet nothrow capable [*] Minor create directory fix
23 lines
671 B
C++
23 lines
671 B
C++
/***
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: Sinks.hpp
|
|
Date: 2021-11-2
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
namespace Aurora
|
|
{
|
|
struct SocketConsole;
|
|
}
|
|
|
|
namespace Aurora::Console::Logging
|
|
{
|
|
AUKN_SHARED_API(NewStdSink, IBasicSink);
|
|
AUKN_SHARED_API(NewOSEventDirectorySink, IBasicSink);
|
|
AUKN_SHARED_API(NewFileSink, IBasicSink, const AuString &path, bool binary = false);
|
|
AUKN_SHARED_API(NewIPCSink, IBasicSink, const SocketConsole &console);
|
|
AUKN_SHARED_API(NewRingLogger, IBasicSinkRB, AuUInt32 approxMaxBytes);
|
|
AUKN_SHARED_API(NewLogger, ILogger, const AuList<AuSPtr<IBasicSink>> &sinks);
|
|
} |