# Logger (Go Module)  
A logging package written in Go, thread-safe and cross-process safe. Can also be used as a shared library in C programs via CGo.

---

## Features  
✅ **Thread-safe cross-process safe** – Use locking mechanisms for both thread and processes
✅ **Multiple log type** – Supports multiple log types (file, console, system)
✅ **C Compatibility** – Can be built as shared library (.so) for use in C programs.  

---

## Installation (Go)  
```bash
go get jobarranger2/src/libs/golibs/log
```
>Note: Examples are provided under examples/go

---

## Installation (C)  
```bash
./build_share_libs.sh  # Generates liblogger.so and liblogger.h
```
>Note: Examples are provided under examples/c