logWarn

Logs a message.

nothrow
void
logWarn
(
S
T...
)
(
S fmt
,
lazy T args
,
string mod = __MODULE__
,
string func = __FUNCTION__
,
string file = __FILE__
,
int line = __LINE__
)

Parameters

fmt S
args T

Any input values needed for formatting

Examples

void test() nothrow
{
	logInfo("Hello, World!");
	logWarn("This may not be %s.", "good");
	log!(LogLevel.info)("This is a %s.", "test");
}

Meta