AERMRE 1.5.1
AER modding framework for Hyper Light Drifter.
log.h File Reference

Logging utilities. More...

Go to the source code of this file.

Functions

void AERLogInfo (const char *fmt,...)
 Log an informational message to the console. More...
 
void AERLogWarn (const char *fmt,...)
 Log a warning message to the console. More...
 
void AERLogErr (const char *fmt,...)
 Log an error message to the console. More...
 

Detailed Description

Logging utilities.

Since
1.0.0

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

◆ AERLogErr()

void AERLogErr ( const char *  fmt,
  ... 
)

Log an error message to the console.

Note
A call to this function should be proceeded by a call to abort.
Parameters
[in]fmtprintf style format string.
[in]...Variadic arguments to substitute into format string.
Exceptions
AER_NULL_ARGif argument fmt is NULL.
Since
1.0.0

◆ AERLogInfo()

void AERLogInfo ( const char *  fmt,
  ... 
)

Log an informational message to the console.

Parameters
[in]fmtprintf style format string.
[in]...Variadic arguments to substitute into format string.
Exceptions
AER_NULL_ARGif argument fmt is NULL.
Since
1.0.0

◆ AERLogWarn()

void AERLogWarn ( const char *  fmt,
  ... 
)

Log a warning message to the console.

Parameters
[in]fmtprintf style format string.
[in]...Variadic arguments to substitute into format string.
Exceptions
AER_NULL_ARGif argument fmt is NULL.
Since
1.0.0