Skip to content

Commit ff920b6

Browse files
committed
Add timeFormat variable to class diagram
1 parent b190902 commit ff920b6

File tree

3 files changed

+2545
-3
lines changed

3 files changed

+2545
-3
lines changed

docs/architecture/diagrams/plantuml/class_diagram.plantuml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ package pkg {
183183
}
184184
struct baseLogger implements baseLoggerInterface {
185185
~ name : string
186+
~ timeFormat : string
186187
~ handlers : []handler.Interface
187188
+ Log(level : level.Level, message : string, parameters : ...any)
188189
+ Name() : string
@@ -232,6 +233,7 @@ package pkg {
232233
~ template : string
233234
~ file : string
234235
~ name : string
236+
~ timeFormat : string
235237
}
236238
stereotype Option <<func(*Configuration)>> {}
237239
class "<<module>>" {
@@ -240,12 +242,13 @@ package pkg {
240242
~ toLevel : level.Level
241243
~ template : string
242244
~ init()
243-
+ New(name : string) : *Logger
245+
+ New(name : string, timeFormat : string) : *Logger
244246
+ WithFromLevel(fromLevel : level.Level) : Option
245247
+ WithToLevel(toLevel : level.Level) : Option
246248
+ WithTemplate(template : string) : Option
247249
+ WithFile(file : string) : Option
248250
+ WithName(name : string) : Option
251+
+ WithTimeFormat(timeFormat : string) : Option
249252
+ NewConfiguration(options : ...Option) : *Configuration
250253
+ Configure(configuration : *Configuration)
251254
+ Name() : string
@@ -383,6 +386,7 @@ package pkg {
383386
}
384387
struct baseLogger implements baseLoggerInterface {
385388
~ name : string
389+
~ timeFormat : string
386390
~ handlers : []handler.Interface
387391
+ Log(level : level.Level, parameters : ...any)
388392
+ Name() : string
@@ -436,6 +440,7 @@ package pkg {
436440
~ pairSeparator : string
437441
~ file : string
438442
~ name : string
443+
~ timeFormat : string
439444
}
440445
stereotype Option <<func(*Configuration)>> {}
441446
class "<<module>>" {
@@ -444,7 +449,7 @@ package pkg {
444449
~ toLevel : level.Level
445450
~ template : map[string]string
446451
~ init()
447-
+ New(name : string) : *Logger
452+
+ New(name : string, timeFormat : string) : *Logger
448453
+ WithFromLevel(fromLevel : level.Level) : Option
449454
+ WithToLevel(toLevel : level.Level) : Option
450455
+ WithTemplate(template : map[string]string) : Option
@@ -454,6 +459,7 @@ package pkg {
454459
+ WithKeyValueDelimiter(keyValueDelimiter : string) : Option
455460
+ WithPairSeparator(pairSeparator : string) : Option
456461
+ WithName(name : string) : Option
462+
+ WithTimeFormat(timeFormat : string) : Option
457463
+ NewConfiguration(options : ...Option) : *Configuration
458464
+ Configure(configuration : *Configuration)
459465
+ Name() : string
322 KB
Loading

docs/architecture/diagrams/svg/class_diagram.svg

Lines changed: 2537 additions & 1 deletion
Loading

0 commit comments

Comments
 (0)