Function Log.warnEnabled

returns true if warn log level is enabled

static bool warnEnabled() @property;