The OpenD Programming Language

defaultLogFunction

This template provides the global log functions with the LogLevel is encoded in the function name.

The aliases following this template create the public names of these log functions.

template defaultLogFunction(LogLevel ll)
pragma(inline, true)
void
defaultLogFunction
(
int line = __LINE__
string file = __FILE__
string funcName = __FUNCTION__
string prettyFuncName = __PRETTY_FUNCTION__
string moduleName = __MODULE__
A...
)
(
lazy A args
)
if (
(
args.length > 0 &&
!is(Unqual!(A[0]) : bool)
)
||
args.length == 0
)

Meta