Update version to 0.0.16, add Appender and AppenderFactory classes, refactor LoggerFactory methods, and implement logging functionality with tests.

This commit is contained in:
2025-10-04 09:20:27 -04:00
parent ea8fd991a0
commit 07485bd0c3
14 changed files with 789 additions and 15 deletions

View File

@@ -0,0 +1,12 @@
import {AppenderOptions} from './Appender';
import Appender from './Appender';
export default class AppnederFactory {
public static createRemoteAppender(remoteAppenderUrl: string, {domain}: AppenderOptions): Appender {
return new Appender(remoteAppenderUrl, {domain});
}
private constructor() {
throw new Error('AppenderFactory is a static class that may not be instantiated');
}
}