def _pre_create(cls, atdepth, stackdepth, *argl, **argd):
from time import time<EOL>if not atdepth:<EOL><INDENT>rstack = _reduced_stack()<EOL>reduced = len(rstack)<EOL>if msg.will_print(<NUM_LIT:3>): <EOL><INDENT>sstack = ['<STR_LIT>'.join(map(str, r)) for r in rstack]<EOL>msg.info("<STR_LIT>".format(cls.__fqdn__, len(rstack),<EOL>'<STR_LIT:U+002CU+0020>'.join(sstack)), <NUM_LIT:3>)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>reduced = stackdepth + <NUM_LIT:10><EOL><DEDENT>if reduced <= stackdepth:<EOL><INDENT>args = _check_args(*argl, **argd)<EOL>entry = {<EOL>"<STR_LIT:m>": "<STR_LIT>".format(cls.__fqdn__),<EOL>"<STR_LIT:a>": args,<EOL>"<STR_LIT:s>": time(),<EOL>"<STR_LIT:r>": None,<EOL>"<STR_LIT>": reduced<EOL>}<EOL><DEDENT>else:<EOL><INDENT>atdepth = True<EOL>entry = None<EOL><DEDENT>return (entry, atdepth)<EOL>
Checks whether the the logging should happen based on the specified
    parameters. If it should, an initialized entry is returned.