log_error_color
, log_warn_color
, log_info_color
, log_debug_color
and log_trace_color
macros to wrap log_log_color
function with specific log levels.
Add comment to mark the IConsole::Print
function as deprecated in favor of the log_*
functions, which should be preferred for the following reasons:
printf
-formatting without a separate buffer.
IConsole
to be used.
#line 4 "foo.alu"
static _AL6Result57 _AL14try_get_number256(){
int32_t _AL0474;
#line 5 "foo.alu"
_AL0474=_AL4next229(_AL10thread_rng72(),
#line 174 "./sysroot/std/range.alu"
(_AL5Range25){._AL0320=
#line 5 "foo.alu"
((int32_t)0LL),._AL0321=((int32_t)3LL),});
#line 7 "foo.alu"
return ((_Bool)(_AL0474>((int32_t)0LL))?
#line 128 "./sysroot/std/result.alu"
(_AL6Result57){._AL0308=
((_Bool)1),._AL0344=
(_AL8_ResultT58){._AL0345=
#line 8 "foo.alu"
_AL0474,},}:
#line 147 "./sysroot/std/result.alu"
(_AL6Result57){._AL0308=
((_Bool)0),._AL0344=
(_AL8_ResultT58){},});}
Ruby: 69.2%
; for GitHub the percentage is lower but still)