Skip to content

kgbook/SpdlogHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A helper library to log like Android log.

Usage

#include "ALog.h"

#define LOG_TAG "Example"

int main(int argc, char **argv) {
    LOGI(LOG_TAG, "Hello!");
    LOGI(LOG_TAG, "Bye!");
    return 0;
}

output:

[2023-11-11 23:26:33.259][pid23288][tid23288][info][Example][main#10]Hello!
[2023-11-11 23:26:33.259][pid23288][tid23288][info][Example][main#11]Bye!

About

A helper library to log like Android log.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published