aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/sirupsen/logrus/ya.make
blob: 1cf601f8c7d333d93410327bf5951d248301f17c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
GO_LIBRARY()

LICENSE(MIT)

SRCS(
    alt_exit.go
    buffer_pool.go
    doc.go
    entry.go
    exported.go
    formatter.go
    hooks.go
    json_formatter.go
    logger.go
    logrus.go
    text_formatter.go
    writer.go
)

GO_TEST_SRCS(
    alt_exit_test.go
    entry_test.go
    formatter_bench_test.go
    json_formatter_test.go
    logger_bench_test.go
    logger_test.go
    text_formatter_test.go
)

GO_XTEST_SRCS(
    example_basic_test.go
    example_custom_caller_test.go
    example_default_field_value_test.go
    example_function_test.go
    example_global_hook_test.go
    hook_test.go
    level_test.go
    logrus_test.go
    writer_test.go
)

IF (OS_LINUX)
    SRCS(
        terminal_check_notappengine.go
        terminal_check_unix.go
    )

    GO_XTEST_SRCS(example_hook_test.go)
ENDIF()

IF (OS_DARWIN)
    SRCS(
        terminal_check_bsd.go
        terminal_check_notappengine.go
    )

    GO_XTEST_SRCS(example_hook_test.go)
ENDIF()

IF (OS_WINDOWS)
    SRCS(terminal_check_windows.go)
ENDIF()

END()

RECURSE(
    # gotest
    hooks
    internal
)

IF (OS_LINUX)
    RECURSE(hooks/syslog)
ENDIF()

IF (OS_DARWIN)
    RECURSE(hooks/syslog)
ENDIF()