Skip to content

Simple Logger in C++ to understand how to use singletons.

License

Notifications You must be signed in to change notification settings

Bepitic/Simple-Logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple-Logger

Simple Logger in C++ to understand how to use singletons.

Task to do

  • Dividir los ficheros por día.

  • Some sort of configuration. Static const variables that configure the way the compiler put code into the executable ( with "if constexpr" C++17).

  • Some sort of switch on off.

  • Crear diferentes tipos de log, Error, Warning and Info.

  • Buscar:

    • Alguna forma de poner la cabecera de la función en la que se llama?
    • Alguna forma de obtener el nombre de la variable.

¿Donde se guarda el fichero?

  • guardar en la carpeta donde esté el ejecutable o crear una carpeta log y ponelo ahí?

  • Elegir el nombre del fichero y su formato. -> fecha_fichero.log

About

Simple Logger in C++ to understand how to use singletons.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages