44 #include "streamlogging.h"
46 LogLevel MergeLogLevel(LogLevel First, LogLevel Second)
47 {
return (LogLevel)( First | Second ); }
49 LogLevel MergeLogLevel(LogLevel First, LogLevel Second, LogLevel Third)
50 {
return MergeLogLevel( MergeLogLevel(First, Second), Third); }
52 LogLevel MergeLogLevel(LogLevel First, LogLevel Second, LogLevel Third, LogLevel Fourth)
53 {
return MergeLogLevel( MergeLogLevel(First, Second, Third), Fourth); }
55 LogLevel MergeLogLevel(LogLevel First, LogLevel Second, LogLevel Third, LogLevel Fourth, LogLevel Fifth)
56 {
return MergeLogLevel( MergeLogLevel(First, Second, Third, Fourth), Fifth); }
58 LogLevel MergeLogLevel(LogLevel First, LogLevel Second, LogLevel Third, LogLevel Fourth, LogLevel Fifth, LogLevel Sixth)
59 {
return MergeLogLevel( MergeLogLevel(First, Second, Third, Fourth, Fifth), Sixth); }
61 LogLevel MergeLogLevel(LogLevel First, LogLevel Second, LogLevel Third, LogLevel Fourth, LogLevel Fifth, LogLevel Sixth, LogLevel Seventh)
62 {
return MergeLogLevel( MergeLogLevel(First, Second, Third, Fourth, Fifth, Sixth), Seventh); }
64 LogLevel MergeLogLevel(LogLevel First, LogLevel Second, LogLevel Third, LogLevel Fourth, LogLevel Fifth, LogLevel Sixth, LogLevel Seventh, LogLevel Eighth)
65 {
return MergeLogLevel( MergeLogLevel(First, Second, Third, Fourth, Fifth, Sixth, Seventh), Eighth); }
67 LogLevel GloballyLogging = LL_TraceAndHigher;
69 void SetStandardLoggingLevel(LogLevel NewLevel)
70 { GloballyLogging = NewLevel; }
72 LogLevel GetStandardLoggingLevel()
73 {
return GloballyLogging; }