Commit Graph

  • 31c9ed52cb preparing for 1.0 main v1.0.0 Jeffrey Paul 2024-06-14 05:49:21 -0700
  • 28d0d041b0 lint and check fmt on docker build Jeffrey Paul 2024-06-14 05:47:35 -0700
  • 278cb73053 fmt Jeffrey Paul 2024-06-14 05:47:29 -0700
  • ea0c84547f add example script Jeffrey Paul 2024-06-14 05:39:08 -0700
  • a852d938e7 ignore binary Jeffrey Paul 2024-06-14 05:39:03 -0700
  • a660203e8f fix call stack depth bug to show log location correctly Jeffrey Paul 2024-06-14 05:38:29 -0700
  • 000fe293ee remove relp stuff for now, was not building Jeffrey Paul 2024-06-14 05:34:05 -0700
  • d8f35dd031 closer to ready Jeffrey Paul 2024-06-10 02:39:01 -0700
  • 60cb410c32 update module path Jeffrey Paul 2024-05-22 14:53:57 -0700
  • 29c31d44f8 latest Jeffrey Paul 2024-05-22 14:52:20 -0700
  • 7e0266aefc aider: Rename CustomHandler to MultiplexHandler. Jeffrey Paul 2024-05-14 05:26:56 -0700
  • 66aae3d758 aider: Update NewExtendedEvent to accept base event as an argument and populate additional fields. Jeffrey Paul 2024-05-14 05:23:52 -0700
  • 4bc389781a aider: Moved the `ExtendedEvent` type and interface to `simplelog.go`. Jeffrey Paul 2024-05-14 05:22:26 -0700
  • 3638c0c4df aider: Add file and line number information to ExtendedEvent in CustomHandler. Jeffrey Paul 2024-05-14 05:20:44 -0700
  • 2c3d9a94fa Refactored CustomHandler to implement slog.Handler interface and updated initialization in init function. Jeffrey Paul 2024-05-14 05:20:43 -0700
  • 500b4b0a96 aider: Include filename and line number in console logger output by using `runtime.Caller` to get the caller information. Jeffrey Paul 2024-05-14 05:17:29 -0700
  • 3a94b5e22a aider: Include filename and line number in console logger output. Jeffrey Paul 2024-05-14 05:17:08 -0700
  • e94fd9e1ee aider: Remove reference to `record.Source` and update logging format in `console_handler.go`. Jeffrey Paul 2024-05-14 05:16:56 -0700
  • fdcfbb02ac aider: Include filename and line number in console logger output. Jeffrey Paul 2024-05-14 05:16:40 -0700
  • 47416f00ed aider: Update console logger to always display times in UTC. Jeffrey Paul 2024-05-14 05:16:01 -0700
  • b44469d434 aider: Updated console log format to include ISO timestamp with millisecond resolution and changed log message color based on level. Jeffrey Paul 2024-05-14 05:15:04 -0700
  • a135ef0778 aider: Use os.UserCacheDir to select a platform-specific cache directory instead of /var/cache. Jeffrey Paul 2024-05-14 05:07:02 -0700
  • d020a1966e aider: Add Enabled, WithAttrs, and WithGroup methods to WebhookHandler to implement the slog.Handler interface. Jeffrey Paul 2024-05-14 05:00:12 -0700
  • d130c338b8 Add logging library for improved error handling. Jeffrey Paul 2024-05-14 05:00:11 -0700
  • b0b5c32bb5 aider: Ensure RELPHandler implements slog.Handler interface by adding Enabled, WithAttrs, and WithGroup methods. Jeffrey Paul 2024-05-14 05:00:00 -0700
  • 7815474d37 aider: Fix the issue with `record.Attrs` not being of type `json.RawMessage` by converting the attributes to a JSON format before passing them to `NewEvent`. Jeffrey Paul 2024-05-14 04:59:34 -0700
  • b9c1a35755 aider: Import the `context` package to fix the undefined `context` error in `relp_handler.go`. Jeffrey Paul 2024-05-14 04:59:23 -0700
  • 97f466e03f Refactored Log method to Handle method for processing records in RELPHandler. Jeffrey Paul 2024-05-14 04:58:39 -0700
  • 1a8b2c3e4e Add new event creation method to improve logging functionality. Jeffrey Paul 2024-05-14 04:58:31 -0700
  • fb4424d69b aider: Import the `log/slog` package to fix the undefined `slog` error in `json_handler.go`. Jeffrey Paul 2024-05-14 04:57:24 -0700
  • 5c000ff0a3 aider: Added missing imports and updated existing imports in multiple files. Jeffrey Paul 2024-05-14 04:57:12 -0700
  • 25923e09f9 aider: Import the `context` package to fix the undefined `context` error in `console_handler.go`. Jeffrey Paul 2024-05-14 04:55:57 -0700
  • 8b30a2f205 aider: Fix undefined `slog.Field` error in `console_handler.go` by implementing the `slog.Handler` interface correctly. Jeffrey Paul 2024-05-14 04:55:33 -0700
  • c2614235d8 aider: Ensured all handlers conform to `slog.Handler` interface and removed `NewEvent()` constructor calls. Jeffrey Paul 2024-05-14 04:54:34 -0700
  • 00b2bfeeb8 aider: Fixed undefined variables and types, updated handlers to use `slog.Handler` interface, and defined missing `event` variables. Jeffrey Paul 2024-05-14 04:52:13 -0700
  • cf6122fc6b aider is not great Jeffrey Paul 2024-05-14 04:50:42 -0700
  • 4f26c35da6 aider: Renamed CustomLogger to CustomHandler. Jeffrey Paul 2024-05-14 04:48:29 -0700
  • 373dd0ac76 Add custom logger with different handlers based on environment variables. Jeffrey Paul 2024-05-14 04:48:28 -0700
  • f964a0d2e4 aider: Update log handlers and CustomLogger to match the slog.Handler interface. Jeffrey Paul 2024-05-14 04:46:28 -0700
  • f8bd3147a4 Refactored logging to use custom logger and set default logger. Jeffrey Paul 2024-05-14 04:46:27 -0700
  • 24c6ebe407 aider: Add init() function to replace default logger in custom_logger.go. Jeffrey Paul 2024-05-14 04:41:27 -0700
  • 9e238728fd aider: Fixed undefined variable error by using correct variable declaration in `relp_handler.go`. Jeffrey Paul 2024-05-14 04:39:20 -0700
  • fce57d37fb aider: The variable declaration issue with `:=` has been fixed by replacing it with `=` for the `conn` and `err` variables. Jeffrey Paul 2024-05-14 04:38:42 -0700
  • 874213b70b aider: Added additional logging for successful connection and handler instantiation in the relp handler. Jeffrey Paul 2024-05-14 04:38:03 -0700
  • 4892ce2f86 aider: Updated error messages to be more descriptive. Jeffrey Paul 2024-05-14 04:34:13 -0700
  • 2b96a4c59b aider: Added logging for connection success, failure, and reconnection when relpDebug is set. Jeffrey Paul 2024-05-14 04:33:30 -0700
  • 4fe19b6070 aider: Add logging message when RELP server acknowledges a message if RELP_DEBUG is set. Jeffrey Paul 2024-05-14 04:31:59 -0700
  • 1029a67421 aider: Include port number in connection attempt for `connectToRELPServer` method. Jeffrey Paul 2024-05-14 04:29:41 -0700
  • 0215354fb2 aider: Corrected dialing of the RELP server by parsing the URL, ensuring the scheme is "tcp," and extracting the host and port for connection. Jeffrey Paul 2024-05-14 04:28:59 -0700
  • 45e47e397b aider: Added the `connectToRELPServer` method to establish a TCP connection to the RELP server. Jeffrey Paul 2024-05-14 04:28:08 -0700
  • f5832c8d67 aider: Added getEnvAsInt and getEnvAsDuration implementations. Jeffrey Paul 2024-05-14 04:27:25 -0700
  • 8cb8013452 Refactored RELPHandler to use environment variables for configuration and improved error handling. Jeffrey Paul 2024-05-14 04:27:24 -0700
  • 473430de19 add .gitignore Jeffrey Paul 2024-05-13 21:43:54 -0700
  • f21c916eb3 initial Jeffrey Paul 2024-05-13 21:43:47 -0700