mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-22 20:11:50 +01:00
[svn r136] MAJOR UNSTABLE UPDATE!!!
Initial commit after moving to Tango instead of Phobos. Lots of bugfixes... This build is not suitable for most things.
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
|
||||
#include "mars.h"
|
||||
|
||||
#include "gen/logger.h"
|
||||
|
||||
namespace Logger
|
||||
@@ -67,9 +69,9 @@ namespace Logger
|
||||
{
|
||||
return _enabled;
|
||||
}
|
||||
void attention(const char* fmt,...)
|
||||
void attention(const Loc& loc, const char* fmt,...)
|
||||
{
|
||||
printf("***ATTENTION*** ");
|
||||
printf("***ATTENTION***: %s: ", loc.toChars());
|
||||
va_list va;
|
||||
va_start(va,fmt);
|
||||
vprintf(fmt,va);
|
||||
|
||||
Reference in New Issue
Block a user